Open link in centered frame

Hello people.
I'm looking for a way to open a local link in a centered frame on the main page (index).
What I'm trying to archieve is what Fancybox does, but instead of showing a picture - I want it to show the content of a local webpage. Maybe even blur out the background.
I was wondering if there is an easy way of doing this without any additional plugins, and if not - if there's a way of doing this with Fancybox. I'm a novice at programming and I only have a very basic understanding of HTML and PHP - That's why I would rather do this in for example PHP instead of getting to know a scripting language like JavaScript - though I know I'll have to at some point. At the moment I'm just trying to visualize what I want the final layout to look like.

You can use Fancybox with iframes, ajax or inline content.
See examples near the bottom of their page.
http://fancybox.net/
The plugin and core jQuery library do all the heavy lifting for you.
Nancy O.

Similar Messages

  • Why won't Safari open links in a frame in a new window?

    I am having trouble with Safari not opening links on a certain page. I am using OS 10.8.2 and Safari 6.0.2.  The links on this site work in Firefox and Chrome, but not Safari. I have tried the same page on older computers with older versions of Safari, and they work like they always have.
    The only thing I can think of that might be causing an issue is that the links reside on a frame within a webpage.  If I hold down command and click the link it will open in a new tab, but I don't want to have to hold down the command key every time.
    Thanks in advance for any help.
    -Kristen

    Okay, I think I know a little more about why Safari is having issues with these links.  The link has some Javascript in it (onclick="logAction('Lesson Planet - Quick Link');return true;")  that records that it was clicked for statistics logging:
    <a href="http://www.sbceoportal.org/jsp/lesson_planet.jsp" title="Thousands of searchable lesson plans vetted by teachers." target="_blank" onclick="logAction('Lesson Planet - Quick Link');return true;">
    <img src="quick_links_files/lesson_planet.jpg" width="230"></a>
    When I take the Javascript out, Safari will open the link.  I'd really like to leave the Javascript in, because we are recording statistics this way.  Is there any workaround?
    Thanks,
    Kristen

  • How can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?

    Hi,
    I would like to know as to how can I add links to open xml and csv files stored in another location? Please advice how to place links in my frame maker document?
    Kindly advice.
    Thanks
    Priya

    Special > Hypertext > Command "open document" will do its best to open the target document inside FrameMaker, which may not be much help; Special > Hypertext > Command "message …" will use the application you specify. The user guide for 7.0 says this about absolute links, and I don't think anything has changed since:
    For example, to start PaintBrush and open the Ship.pcx file on drive C you would use the command message system pbrush.exe C:/Ship.pcx
    I've not often used a relative link, and not recently: the same source says
    folder levels are separated by a slash / even in Windows and Mac
    [relative links] FrameMaker searches for a relative pathname beginning in the folder that contains the current document
    [absolute links] FrameMaker searches for an absolute pathname beginning at the top of the file system. In Windows, the absolute pathname begins with the drive specifier, a colon and a slash.

  • Right click to open link in new tab sometimes missing

    example:
    http://en.wikipedia.org/wiki/StannardRockLight
    In Safari 3, I could right click on the image to the right and get the contextual menu item "Open link in new tab." In Safari 4, it's missing. However, if I hold down the command key and click, it does open in a new tab - so it seems to be an issue with just the contextual menu somehow.
    This problem doesn't occur with every webpage.

    Hi Donnie
    Seems if the image is contained within a frame, then no "save as" option appears. I suggest reporting the bug to Apple via the Safari Menu>Report Bugs to Apple.
    Alternative for saving is to click/drag the image to the desktop.

  • I used to be able to open links in a new tab by clicking my middle mouse button, but now that I've updated it to the most recent update it doesn't work anymore. How do I fix this? I really love that feature. It works in IE and Chrome but not Mozilla.

    Ok, I used to be able to open links up in a new Tab using my middle mouse button. However, I updated firefox with the automatic Updates on the 26th of October and now I no longer can open links with my middle mouse button. Why? I use this feature just about every time I go searching on the internet so I really would like it back. I couldn't find anything that it was related to in the options so I turn this over to you guys.

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • I can't open links in firefox. I must drag them to the tool bar or right click and open in a new page

    I am running Vista and installed a new version of firefox yesterday plus I messed around with trying to block some obnoxious advertising pop up windows. Now I can't open links and must drag them to the browser bar or right click and "open in a new window". How do I fix this? I tried to restart Firefox but it didn't help. thanks!

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Try to open a new window and see if that window works.
    You can check for problems with the localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Opening link in a new tab disables back navigation to the first page

    If I am on page A (for an example, let's say it is www.yahoo.com) and I chose a link on that page and by right-clicking open pop-up menu and choose '''Open Link in New Tab''', the page B (let's say finance.yahoo.com) opens in a new tab. Now, if I click on any link on this page B to be opened in the same tab the page (we will call it C) opens, but all options to navigate back ('''Go Back One Page''' browser button, Alt-Left Arrow, '''Back''' option on pop-up menu) appear disabled. However, if I continue to navigate from page C in the same tab to let's say page D, and from there to pages E and F, I can go back all the way to page C, but no further. It looks like for some reason the opening link in a new tab fails to put it in that tab navigation history.
    I am running Firefox 4.01. It happens only on my office computer and not on any other computers I use. I had this problem before on the same office computer with Firefox 3.6. I could not get rid of it. Only after I uninstalled 3.6, cleaned all remnants of it and installed 4.0 – the problem went away. I updated to 4.01 and it worked fine for a while. But recently (I don't know what triggered it) the problem came back.

    Thanks for your post.
    I've seen it, and that's what I want to avoid. Like I said, if I click on a link which was suppose to open in a new window, it should open in new tab instead.
    Thanks.

  • In version 9 is there anyway to put the "Open Link in new Tab" back to where it was when right clicking on a link?

    The menu editor addon no longer works with FF v9.0.1, is there another way to change the location of the "Open Link in New Tab" contextual menu item when right clicking on a link?

    You can do that with code in userChrome.css.
    See my post here:
    *[[/questions/791244?page=2#answer-161497]]

  • Right-clicking on links and selecting "Open Link in New Tab" opens a blank tab.

    Seems like opening links in new tabs just doesn't work in any fashion. I right-clicked a link (several, actually) to open it in a new tab. It opened a blank tab. No sign of ever acknowledging the link, nothing in the URL bar. Just blank.
    Wonder if this is related to my earlier question about opening links from Thunderbird being broken as well...

    2 Solutions found in [http://support.mozilla.com/en-US/questions/791244]
    the user cor-el has a method that does not require any add-ons. He States
    This code in userChrome.css will move "Open Link in New Window" to the top of the context menu.
    <pre>@namespace url("<a href="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul</a>"); /* only needed once */
    #contentAreaContextMenu &gt; * { -moz-box-ordinal-group: 2; }
    #context-openlink { -moz-box-ordinal-group: 1 !important; }</pre>
    the user jay_ff shows how to do it using the Menu Editor Add-on
    1. Install the Menu Editor add-on from https://addons.mozilla.org/en-US/firefox/addon/menu-editor/ .
    2. After the installation, go to Firefox> add-ons (or simply use Ctrl+Shift+A)
    3. Go to the Menu Editor "Options"
    4. In the "Main context menu," simply grab the "Open link in New Tab" and place it below the "Open Link in New Window"
    5. and Voila! You may also change other menu options if you want to!
    I tried jay_ff method first and found that indeed changing the Main Context Menu did cause the hotlink context menu to change as well.

  • Apex 4 - Flash Chart - How to open link in same page

    Hi,
    I need help in apex flash chart development. I want to open link in same page. Currently it open in new window with existing page intact
    I have created a flash chart.
    Below are setting
    Chart Type 2D line
    Series Type : Line
    Series siurce : sql query
    elect '?p=&APP_ID.:2:&APP_SESSION.::::P2_ORACLESID,P2_CAP_DATE:&P15_ORACLESID.,'||capture_date link,
    capture_date,
    round(sum(TOTAL_MB)) "Total_MB" ,
    round(sum(USED_MB)) "Used_MB" ,
    round(sum(FREE_MB)) "Free_MB"
    from SST.TABLESPACE_USAGE_HIST
    where DBNAME = :P15_ORACLESID
    group by capture_date
    order by capture_date
    Problem: when I run this page, chart is displayed. Now if I click on the series value of chart, it opens page ( '?p=&APP_ID.:2:&APP_SESSION.::::P2_ORACLESID,P2_CAP_DATE:&P15_ORACLESID.,'||capture_date link) It opens page 2 in new window. I want it to open in same window. Am I missing something ? Is this possible ? Is there anything I can change to achive this functionality
    Please help

    Hi All,
    I have an issue with Anychart link, can you please help me.
    1. I have created HTML region in a page with
    <div id="sampleClick">
    <div id="sample1">
    <script type="text/javascript" language="javascript">
    function ChartSample()
    var ChartSample = new AnyChart('/i/flashchart_v5/swf/AnyChart.swf');
    ChartSample.width = "500";
    ChartSample.height = "400";
    var ChartData = new htmldb_Get(null,$x('pFlowId').value,
    'APPLICATION_PROCESS=FINANCE_020',0);
    gReturn = ChartData.get();
    // prompt("xml",gReturn);
    ChartSample.setData(gReturn);
    ChartSample.write("sample1");
    ChartSample();
    </script>
    2. Then created Application process with "On Demand Run this application process when requested by a page process." in PL/SQL Anonymous block
    select 'f?p=&APP_ID.:136:&APP_SESSION.::::P33_ID:' || YEAR link,DECODE(period,1,'JAN',2,'FEB',3,'MAR',4,'APR',5,'MAY',6,'JUN',7,'JUL',8,'AUG',9,'SEP',10,'OCT',11,'NOV',12,'DEC')||'-'||year "MONTH",round(SUM(ytd_revenue)/1000000,2) YTD_REV from t_tc_qpcq2052
    where cntry='IND' and category='20'
    GROUP BY year, period
    ORDER BY YEAR, period
    I am able to see the chart, but I am not able to open or pass the value from one page to another page when I click the bar chart.
    Can you please help me on this.
    Thanks in Advance.

  • Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL..

    Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL. However, if I right click on a link and select "Open Link In New Tab", the Tab shows URL in address bar. So it's working when it's a New Tab but not a New Window.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Open link in background when anchor's attribute "href" contains javascript

    Hi community,
    I support web enterprise-level application with some legacy parts, where some windows are opened by using window.open command inside of anchor's href attribute. (e.g. <a href="javascript:MyFunction('../someurl', '2')" ../> ... function MyFunction(url,
    id) { window.open(url, id) ...)
    Now I have to open link in the background by pressing ctrl + click (or middle click), but for IE (9, 10, 11) it always becomes focused.
    Are there any ways to open those new tabs in the background (only when ctrl is pressed)? 
    P.S. I know that it would be better to provide actual link inside of href attribute, but unfortunatelly I don't have such options, due to application specific.
    Thank you in advace for your help!

    Hi Rob,
    thank you a lot for reply!
    I think mine issue not related to security and popup blocker settings. What I try to achieve is similar behaviour as we have for links (<a>) with href attribute fullfilled with actual url. Specifically
    * by single click new tab should be opened focused (this is fine)
    * by shift + click it should be opened in new browser window (this is also fine)
    * by middle (ctrl + click) new tab should be opened in background. This feature doesn't work well, because new tab alway opens focused and this is what I'm trying to fix, or at least find official proof that IE works in this way with javascript
    inside href attribute
    Here is example:
    http://jsfiddle.net/hj3gud9j/
    It works as expected in chrome but not in IE
    Yours sincerely, 
    Eugene Novykov

  • "Open links from applications" in Safari 5

    Preferences > General > "Open links from applications"
    This has been removed in Safari 5, so when I open, say, 10 weblocs I keep in a folder in the Finder, I now get 10 separate windows.
    1) ***, Apple?!?
    2) Any suggestions for a hack to fix this stupid oversight?
    I could probably change Preferences > Tabs > Open pages in tabs instead of windows (which I currently have set to "Never" because it overrides keystroke+click for telling Safari how to open a link) and see what that does, but I like that preference the way it is.

    Hi,
         Is there any workaround for this issue. Because when multiple window gets spanned we are getting confused. Or let us know if there is any way to open the download prompt alone instead of opening up with the new window. One more thing to note is once the download is complete the new window also doesn't closes automatically which needs to be closed manually. This makes very annoying. Kindly let us know how to prevent the new empty window from opening.
    Vijay.

  • Macbook pro wont open links

    Hi all, i have a macbook pro and just recently it has stopped opening links. Although its not all things, for example, i cant click and open anything from google unless i right click and open in a new tab. I click on the link and nothing happens, its not only in google that this happens. Ive been getting around it by opening everything in a new tab and hoping it would sort itself out, but it hasn't and it is super frustrating.
    Hope someone can help!

    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.

  • [SOLVED] Xfce terminal open links with wrong browser.

    After installing Opera as second browser, xfce terminal began to open links with it, instead of my default browser - Firefox.
    I right click on an URL, choose 'Open Link' and it opens in Opera.
    Firefox is set as default browser in Settings -> Preferred Applications -> Web Browser
    xdg-open http://archlinux.org
    - opens Firefox
    exo-open http://archlinux.org
    - opens Firefox
    After quick search through xfce terminal sources i found it uses some function - gtk_show_uri.
    I googled it, found that topic: https://bbs.archlinux.org/viewtopic.php?id=140028 and tried the solution:
    cat ~/.local/share/applications/mimeapps.list
    [Added Associations]
    x-scheme-handler/mailto=exo-mail-reader.desktop
    x-scheme-handler/http=firefox-browser.desktop
    strangely it doesn't help.
    After all righ click url in terminal and 'Open Link' still uses Opera.
    Any ideas? What else can i do to find out a reason?
    Last edited by spacetekk (2015-01-04 11:41:53)

    Tried BROWSER envar - doesnt help, and as i understand it must work only for cli apps.
    Editing of  ~/.config/mimeapps.list doesnt help eather:
    cat ~/.config/mimeapps.list
    [Default Applications]
    text/vcard=firefox.desktop
    text/html=firefox.desktop
    [Added Associations]
    text/vcard=firefox.desktop;
    text/html=firefox.desktop
    but maybe it's not correct.
    After that i tried to strace xfce4-terminal:
    poll([{fd=4, events=POLLIN}], 1, 4294967295) = 1 ([{fd=4, revents=POLLIN}])
    recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\34\0.\331!\t`\2N\1\0\0\330\336\7\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 352
    recvmsg(4, 0x7fff5ad349d0, 0) = -1 EAGAIN (Resource temporarily unavailable)
    stat("/home/user/.local/share//mime/mime.cache", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/home/user/.local/share//mime/globs", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/home/user/.local/share//mime/magic", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/mime/mime.cache", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/mime/globs", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/local/share/mime/magic", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
    stat("/usr/share/mime/mime.cache", {st_mode=S_IFREG|0644, st_size=115108, ...}) = 0
    open("/usr/share/applications/opera.desktop", O_RDONLY) = 13
    fstat(13, {st_mode=S_IFREG|0644, st_size=550, ...}) = 0
    read(13, "[Desktop Entry]\nVersion=1.0\nName"..., 4096) = 550
    read(13, "", 4096) = 0
    close(13) = 0
    access("/usr/local/sbin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/local/bin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/bin/opera", X_OK) = 0
    getuid() = 1000
    stat("/usr/bin/opera", {st_mode=S_IFREG|0755, st_size=416, ...}) = 0
    access("/usr/local/sbin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/local/bin/opera", X_OK) = -1 ENOENT (No such file or directory)
    access("/usr/bin/opera", X_OK) = 0
    getuid() = 1000
    stat("/usr/bin/opera", {st_mode=S_IFREG|0755, st_size=416, ...}) = 0
    pipe2([13, 19], 0) = 0
    pipe2([20, 21], 0) = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd725cf1bd0) = 1469
    close(19) = 0
    close(21) = 0
    wait4(1469, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1469
    and it's strange but as i can understand it uses some mime cache file located at /usr/local/share/mime/mime.cache
    and before that some other non existing files, but i dont see there any familiar config files.

Maybe you are looking for