Iframe and sprys

Hello to everybody,
I have to create a menu tied with some content on a single page (not load new page on every single link). The result that I need is similar to http://www.olivagreca.com/Olives.html .
The problem is that I don’t want to use sprys menus. The reason is that if I scroll to the bottom of tab 1, then select tab 2, the scrollbar remains at the bottom (or wherever it was last positioned on tab 1. You can see the problem on http://www.olivagreca.com/Olives.html#Cultivars .
So I came up with the following:
Index.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>any</title>
<style type="text/css">
body {
                height: 1200px;
                padding: 0px;
                background: #ffffff;
                margin-top: 0px;
                margin-right: auto;
                margin-bottom: 0px;
                margin-left: auto;
                background: -webkit-gradient(linear, 0 0, 0 100%, from(#e6f3ea), to(#ffffff)) no-repeat;
                background: -moz-linear-gradient(top, #e6f3ea, #ffffff 100%) no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6f3ea', endColorstr='#ffffff',GradientType=0);
                background-image: -o-linear-gradient(#e6f3ea, #ffffff 100%);
#menu {
                clear: none;
                float: left;
                margin-top: 40px;
                height: 320px;
                width: 160px;
                margin-left: auto;
                background-color: #667C26;
#menu a {
                height: 40px;
                width: 160px;
                display: block;
                text-decoration: none;
                color: #000;
                line-height: 40px;
                font-size: 16px;
                font-weight: 400;
                text-indent: 20px;
a:hover {
                background: #e3fe03;
#menu a:focus {
                z-index: 900;
                background-image: url(images/button_selected.jpg);      <the desired image
                background-repeat: no-repeat;
                outline: none;
body iframe {
                clear: none;
                float: left;
                width: 670px;
                height: 320px;
                margin-top: 40px;
                margin-left: 10px;
                overflow-x: hidden;
                background: #e6f3ea;
#content {
                height: auto;
                width: 850px;
                margin: 0px auto;
                padding: 0px;
                background: #e6f3ea;
</style>
</head>
<body>
<div id="content">
<div id="menu">
<a target="test2" href="olivegrove.html">Olive Grove</a>
<a target="test2" href="harvest.html">Harvest</a>
</div>
<iframe src="olivegrove.html" name="test2" frameborder="0"> </iframe>
</div>
</body>
</html>
olivegrove.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>tata</title>
<link href="olivegrove.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body {
                background: #e6f3ea;
                margin: 0px auto;
                padding:0px;
#content {
                clear: none;
                float: left;
                width: 650px;
                height: 700px;
                background-color: #C60;
</style>
</head>
<body>
<div id="content"></div>
</body>
</html>
harvest.html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>papa</title>
<link href="olivegrove.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body {
                background: #e6f3ea;
                margin: 0px auto;
                padding:0px;
#content {
                clear: none;
                float: left;
                width: 650px;
                height: 700px;
                background-color: #C60;
</style>
</head>
<body>
<div id="content"></div>
</body>
</html>
As you can see at the above code I can get the “hover” effect that I need and the “focus” effect but I want the “focus” to stay still –indicate to the visitor what tab she/he had selected- (to disable the previous and enable the next when and if clicked only, not disabled when I click anywhere in the page).
Any help will be appreciated.
Thank you in advance,
Tom

Which browser(s) are you having this problem with?
I'm not able to reproduce your problem in Firefox 3.16.7 on Vista.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • When I try to load a pdf in iframe and I disable PDF toolbar, Its working fine in Internet Explorer and lower versions of Firefox, but in Firefox 19 its not

    When I try to load a PDF inside Iframe and I disable toolar=0 (as guided by adobe). I am able to see the iframe with PDF with no toolbar in IE and lower versions of Firefox (till version 14).
    But in my current version 29, The PDF is visible with toolbar on top.
    Can you please let me know the way to display pdf with no toolbar in Firefox 29?

    I replied on your similar question here: https://support.mozilla.org/questions/1005225

  • How to create a button which unloads an iFrame and puts in its position another iFrame?

    How to create a button which unloads an iFrame and puts in its position another iFrame?
    It is very important for me if anyone could answer...
    Thank you all in advance,
    Frank

    Ok I found it!!

  • IFrames and .swf over lapping problem

    ello,
    I've made my site in iweb '09 and I've uploaded some .swf Flash files to my site. It works great except on one of my pages, the only page with an iFrame. I have a basic layout I use on all of my pages and the .swf is in the same location on every page, the only content that changes is my text. Its a "tab" layout I guess you could say. So my iFrame is in place of the text that is always changing and for some reason my .swf captures and displays my iframe inside of it's frame.(0_o) So I have two areas on my page that my iFrame is displayed. I've moved the iFrame around, changed a lot of the code (for both the iFrame and the .swf HTML snippet) and have had no luck. Can anyone please help me?
    If you cannot understand what it is I am trying to ask, please visit my website and take at look at the "Reviews" tab.
    www.nomadicpc.com
    Thanks in advance!

    The Review page looks OK to me. You browser must have not loaded all the files that first time.
    Interesting using iWeb and an Mac to create a PC repair site.
    OT

  • Issues with IFrame and calling an application outside the IFrame

    Hi
    I have an issue which is really turning my head 360 degrees in a "dead loop":)
    I have a WebDynpro application, one component and three views in a viewset.
    The first view will always be placed in column one and depending on some action the two other views should be loaded one by one. So in the main view the users will select three parameters from three dropdownboxes and then a call with the given parameters to an html file in KM - which then again is passing the parameters to a swf file which is presenting an Business Objects dashboard. The BO Dashboard is presented in an iFrame.
    The users selects an element in the Dashboard and is then again calling the webdynpro application with four parameters, the three first from the dropdownboxes, but also a new one which is used to call the third view. I am using NavigationTarget in the URL to load the application at the given position in the portal. And the logic is working, BUT the portal is presented in the IFram of the first View.
    So my question is - How to navigate from the IFrame and "back into the portal"????
    Regards
    Kay-Arne

    There was an issue with the serialization file created.
    Creating a new serilaization file via AAMEE and running it resolved the issue.
    Create a serialization file via AAMEE: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/Ad obeApplicationManagerEnterpriseEditionDeploymentGuide_v_3_1.pdf
    And then run it via command line.
    Here are the steps:
    AdobeSerialization (serialization file created using AAMEE 3.1) is not a double clickable file. You need to run it via command line to serialize the products. the command line is -
    AdobeSerialization --tool=VolumeSerialize --stream --provfile=”Absolute_Path_of_prov.xml”
    where
    --tool=VolumeSerialize:  specifies that the tool needs to process the prov.xml file to serialize.
    --provfile” specifies the absolute file path to the prov.xml file,
    By default, the tool looks for the prov.xml file in the same directory as the executable file and so
    typically you do not need to specify this option. (Specify this option only if the prov.xml file is in some
    other location.)
    Make sure you invoke command prompt with Admin privileges. Return code of zero means success.
    Tiffany can you please confirm the same?
    -Pragya

  • IFrame and Mouse Wheel conflict

    Hi
    A question, if someone can help it would be great !
    I made a fonction on the stage, I listen to the mouse wheel, that works perfectly ! but then I call an iFrame and put it in one symbole, at this moment each time I use the mouse wheel, when I am over this symbol it stop working, outside it is style working
    Any idea ?
    Code of the mousewheel function
    $(window).bind('DOMMouseScroll', function(event) { }
    thanks

    Hi, So the Shockwave Flash Object...ActiveX Control...Flash10e.ocx is installed in the manage add ons and it is enabled.
    Is that the only one listed that way, no other Shockwave Flash Object? If so then that is correct.
    The Flash files for Firefox (or other browsers): Flashplayer.xpt, uninstall_plugin.exe, NPSWF32.dll and NPSWF32_FlashUtil.exe are correct IF when you right click on the 2 NPSWF files and click on Properties and they are the version 10.0.45.2.
    The Flash files for IE: FlashAuthor.cfg, FlashUtil10e.exe, install.log and uninstall_activeX.exe are correct. The FIDbg10e.ocx is a debug version. The FlashPlayerTrust I don't see too often. My research tells me this was similar to the current Settings Manager but for older Flash Player versions. Anytime I see that or the FIDbg10e.ocx, or even older versions I recommend removing it. Sometimes a user will even have an older version of the debug .ocx.
    I don't know what Flash files are installed if say a user has only the debug version. But what I see here is a mix. The IE Flash files have the current version (the first three listed) and a debug .ocx. I would think that would certainly cause a conflict. The correct file should be Flash10e.ocx.
    If you were just concerned about your Flash Player working correctly or not, I would suggest removing the FIDbg10e.ocx and the FlashPlayerTrust.
    You might want to go to this Adobe Flash Player test site: http://www.adobe.com/software/flash/about/ I would be interested in knowing what that result is.
    Thanks,
    eidnolb

  • Iframe and HTML5 for Blackberry app generator

    Is it possible to include iframe and HTML5 editior for the Blackberry app generator? 

    Hi and welcome to the forums!
    Are you accessing App World from your device or PC? Which app is it (be specific) and I will help you test it.
    Thanks,
    Bifocals
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Iframe and scrollable containers not working

    iframe and scrollable container containts not scrolling, which is working (scrolling) fine in previous version, otherwise this is perfect. pls take care of issue.
    I think this one resembles nightly which has same issue.
    thanks for flash support

    I wonder whether there is a better place to give feedback on beta releases. The developers are unlikely to notice support posts here. I realize the suggestion in [http://blog.mozilla.org/futurereleases/2012/05/15/new-firefox-for-android-beta-is-ready-for-testing/ New Firefox for Android Beta is Ready for Testing] to "file a bug" involves a new registration and providing additional information, but if you don't see progress in other ways, you could try it.

  • Update available to address iFrame and button issues

    We just released an update to the DPS tools that addresses the issues around HTML/iFrame and buttons in release 25. You can download the updated components by following the links at http://www.adobe.com/go/learn_dps_install_en.
    Neil

    did you check with VBPA Table ?
    are you passing parvw field as 'WE'

  • I am using IFrame and displayed Html page

    Hi Friends
                        I am using IFrame and displayed Html page in flex4
                        In this page open to Firefox But not IE please help me.
                          Thanks
                           V.ChandraSekhar

    You have deleted your page, but you have not deleted your page?
    Which is it?
    If you never saved it it is gone. If you saved it in Lion (OSX 10.7) with Pages 09 v4.1, there should be versions available when you mouse overv the document name at the top of the window.
    Peter

  • Unsecured Iframe and ability to make JS calls to Iframe

    I setup a sandboxed iframe parent/child in which I call in a remote content from an html page for sake of example we will say: http://127.0.0.1/ui.html
    This remote page includes some content from a third party website (an embedded youtube video, and some external JS includes), as well as its own content. I also have setup functions which I have exposed to the parent and can call them. (simple alerts)
    I cannot view the embedded video, or include any scripts residing outside the sandboxed url path the remote content or any content included (outside of the ui.html).
    The documentation states:
    "HTML content in remote (network) security sandboxes can only load CSS, frame, iframe, and img content from remote sandboxes (from network URLs)."
    Which is in line with the occurances.
    My question is...
    Is there any way to allow these external includes as well as maintain the ability to perform script calls from the parent to the child sandbox?

    Hey abc1174,
    Welcome to the BlackBerry® Support Community Forums.
    Currently this feature is not available for the BlackBerry Z10 smrtphone.
    Thank you.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Iframes and SEO

    There seems to be a lot of conflicting information out there
    about the use of iframes and its affect on SEO.
    One of my clients uses iframes for their site ( I did not
    design it) and want to know if that hurts SEO.
    Does anyone know the true scoop on this?
    Regards,
    Bill

    Think about it. The *most* relevant content on a page with
    IFrames may be
    from the foreign site. How could it NOT hurt page ranking and
    SEO?
    As darrel says, they are way trendy, and I think way
    overused.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "TurboBill" <[email protected]> wrote in
    message
    news:erku8h$9e2$[email protected]..
    > There seems to be a lot of conflicting information out
    there about the use
    > of
    > iframes and its affect on SEO.
    >
    > One of my clients uses iframes for their site ( I did
    not design it) and
    > want
    > to know if that hurts SEO.
    >
    > Does anyone know the true scoop on this?
    >
    > Regards,
    > Bill
    >

  • Iframes and scrolling

    I’m working with Iframes and I can’t figure out
    how to set the scrolling so that it only scrolls vertically. I
    figured out that “no” creates no scrolling and
    “auto” creates vertical and horizontal scrolling.
    I’m looking for the word to put in there to create only
    vertical scrolling.

    edwheels wrote:
    > I?m working with Iframes and I can?t figure out how to
    set the scrolling so
    > that it only scrolls vertically. I figured out that ?no?
    creates no scrolling
    > and ?auto? creates vertical and horizontal scrolling.
    I?m looking for the word
    > to put in there to create only vertical scrolling.
    There isn't one. The values for scrolling are "yes", "no", or
    "auto". To
    prevent a horizontal scrollbar, you need to make sure that
    the iframe is
    wide enough to accommodate the content.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Real Time Report Placed in iFrame and then Within a Web Applet

    Real-Time Reports built and executed BI tool retrieve real-time updates. However, when report URL is placed within an IFRAME and that is then placed in a Web Applet and the Web Applet is placed within a Page Layout Section, the real-time report no longer retrieves real-time updates.
    Do you have any ideas as to why?

    Hi Don,
    Thanks for the reply.  I had downloaded a set of samples from SAP and I have looked through a few of the set you supplied.  I am worried that I'm going to have some trouble because the samples have the reports loaded as part of the solution but I was looking to create a more generic viewer.  I don't want to have to reprogram for each and every report that is created.  That is why I was trying to use the generic parameter dialog.  After the Report Load Failed dialog comes up, it does bring up the parm dialog and hits SQL Server just fine.  Yes...the reports are passing Parms to Stored Procs in SQL Server.  The report has default parameter values. 
    What I am trying to do is search thru the application folder and gather the names of the reports located there and fill the combo box with the names of the reports.  Then the user should just be able to select a report and run it.  I can't save the data in the reports because they must be ran per the requester's date range and other desired parameters.
    Does this seem valid or am I going to have to program for EVERY single report and reprogram/recompile for every report added?  Not particularly what I want to hear.   I would have used the standard Crystal Report Viewer and had the users use that but it doesn't seem to allow you refresh the data from the viewer.
    Thanks for your help,
    Chris

  • HTMLEditorKit : How you handle FRAMES, IFRAMES and JAVASCRIPT

    Hi all,
    Currently im using the HTMLEditorKit to parse through the HTML page. Obviously its easier when the elements are on the body of the page. But what if the page has frames,iframes or javascript and i want to extract links that these elements reference to. How do i do it? I know some of you would recommend my class to extend the parsercallback class. But is there a way for example i can use 3 or even 4 different iterators each pointing to the different elements ?
    and lets say if i reference to a SCRIPT tag of the HTML, how do i extract the possible URLs in it. Same goes for iFrames and JavaScripts. Can anyone please help me with this ?

    Tim,
    The form action needs to be the page URL. The INPUT fields/objects of your form will be sent as parameters when the form is submitted. These parameters can be read by your portlet by using the parameter passing PDK services. It is recommended to use qualified parameters in case the portlet that reads the parameters is the same as the one that has submitted them.
    As far as I remember the parameter passing sample portlet contains similar code to what you're looking for.

Maybe you are looking for