HTML - Drop Down Links Opening In A Specific Frame
I am using a 3 frame page (header, menu, bottom)
I have a drop down menu that is in 'Menu' titled frame and i want it to open up in another frame called 'bottom' what do i add / change in my code below. Thanks in advance. Regards Grant Code: <script> <!-- function land(ref, target) { lowtarget=target.toLowerCase(); if (lowtarget=="_self") {window.location=loc;} else {if (lowtarget=="_top") {top.location=loc;} else {if (lowtarget=="_blank") {window.open(loc);} else {if (lowtarget=="_parent") {parent.location=loc;} else {parent.frames[target].location=loc;}; }}} } function jump(menu) { ref=menu.choice.options[menu.choice.selectedIndex].value; splitc=ref.lastIndexOf("*"); target="bottom"; if (splitc!=-1) {loc=ref.substring(0,splitc); target=ref.substring(splitc+1,1000);} else {loc=ref; target="_self";}; if (ref != "") {land(loc,target);} } //--> </script> </head> <body bgcolor="#000000" text="#FFFFFF"> <form action="dummy" method="post"> <a target="_bottom"> <select name="choice" size="1" onChange="jump(this.form)"><option value="">CHOOSE A LINK</option><option value="http://www.yahoo.com*_top">YAHOO</option><option value="http://www.hotbot.com">HOTBOT</option><option value="">- - - - - - - - - -</option><option value="http://www.microsoft.com">MICROSOFT</option><option value="http://www.netscape.com">NETSCAPE</option></select></a></form> </span> </body> Similar TutorialsHi. I am trying to create a page containg 2 frames, right frame, and mainFrame. I am using the right frame to allow users to click links to remote sites browsable within the mainFrame. However, most of these sites require cookies and keep opening links in a new window. Is there a way to enable 3rd party cookies within frames, and to also disable links within the mainFrame from opening in a new window? p.s. I know Firefox allows users to use 3rd party cookies in frames. Thanks Hi! I am using Dreamweaver 8 to develope my site. I have broken the page in three pieces(frames) So that the top frame shows the title, the left frame is for links that I want to show as flash movies in the right frame. I have studied the help file and I have looked on the web and I can't find an explanation that I can understand on how to do this. I believe the clickable link should be an href but I don't know how to code it. Can someone explain this to me? Thanks in Advance! Paul Hi All! I have to link to a website from a clients site. BUT they want the link to go to a "FOR RENT" page... the thing is that the site I'm linking to uses frames, and if I link to the "FOR RENT" frame then the maine frameset doesn't show up... Any ideas? Thanks, Tom I am using iframe on one of my webpages and it contains links to other webpages on my site. Currently when I click on one of those links it opens the new page inside the iframe I declared. I would like it to open on the full page in the browser, like a common link would and not open a whole tab either. I hope this makes sense. If anyone can help I would greatly appreciate it. Thanks! I take are of an internal site on our companies intranet. I have a set of 3 iframes for content. The problem I am experiencing is when a link I have in one of the content pages is clicked (target is already set to _blank) the link still opens inside the iframe. <a href="http://support.microsoft.com/kb/301583" target="_blank">Windows XP Shortcuts</a> that is the code on the site. like I said, this is on a page that gets loaded into an iframe Thanks for the help. Hi, Newby here - trying to make some link changes to an existing site and it has gone south for me. I have updated some java based links and it has blown up on me. They are trying to open as a file, rather than staying as a link. website address is dub, dub, dub nufinish dot ca. Small site, but trying to update it so that links operate properly. Thanks! Hendy at least10 Okay here is the previous thread that lead me to this issue. http://www.htmlforums.com/html-xhtml...tml#post670803 It solved my issues of opening a new window based off of the selection in a drop down, how ever I have 13 drop downs and the script from the above thread only allows one drop down to work. The drop downs will increase, is there any way to get them all to work. Thanks dt_gry Hi All, I'm pretty new to web development but seem to have come across a problem which I'm sure is easily cured .. I'm creating a web page in html with frames and trying to get links in one frame to open a separate page in another frame. Now I've done the obvious bit to do with naming the frame and setting target etc, and it works fine when I run it in google chrome, but can't seem to get it to work in internet explorer - I'm designing it in dreamweaver if that makes any difference - any help would be great as this is the last hurdle before I finish the site! Thanks, Matt Hi, so I'm trying to make some links for my website that can easily be modified on all pages but I'm not sure how to go about doing it. my original plan was to use this code: <iframe src="http:///directory.html" style="border: 0" width="100%" height="50" frameborder="0" scrolling="no" target="_parent"></iframe> However from everything I've read this wont work because instead of redirecting the actual page to the correct spot it just sends the frame to that spot leaving the rest of the page the same. And apparently there is no code to make it behave the way that I want it to. So my question is what are my alternatives? I really just want one location where i can update the links, the pictures for the links etc. that way whenever I add a new link or change its location I don't have to do it for 15 other webpages. Anyway, any guidance/help especially in-depth (as I'm not very experienced) would be greatly appreciated. I am having trouble with a website I am creating for my local pool league. the problem is that I am going to have a lot of pages in the website and obviously dont want to have to edit every page individually if I change the menu. To combat this I have tried using a frame with the menu inside and the content below but as it is a drop down menu, only a couple of the menu items appear without having to scroll the frame. Is there a way to combat this, perhaps even a different method to using a frame? I am definatly amature at best when working with HTML/Javascript so please be patient. Thanks for any help Phoenix_fiames I'm prototyping several possible ways to build a website that's targeted towards unsophisticated users here in Mexico, so an un-scrolling navigation menu would be very helpful. This is the code for a simple Frameset with a Suckerfish drop-down menu is in the top ("header") frame. (BTW Suckerfish is an elegant snippet of code, isn't it?) Here's the code of the Frameset (quite routine): Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <!-- saved from url=(0013)about:internet --> <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <frameset framespacing="0" rows="90,*" border=0 frameborder=0 > <frame name="header" scrolling="no" noresize target="main" allowtransparency="true" src="header.htm" style="position:absolute; top:0; left:0; z-index:5"> <frame name="main" src='homeeng.htm' style="z-index:1"> <noframes> <body> <p>This page uses frames, but your browser does not support them.</p> </body> </noframes> </frameset> </html> It took alota fussing to get the drop-downs to not disappear behind the lower ("main") frame. Z-index is no help. Finally they go over not under it, but only in IE7. They still dive under "main" in IE6 and Firefox. You can go to the website http://www.ajijiclimpio.org/frameset to see what I mean. Hover on the "about" menu item: it drops down fine in IE7; then take a look with Firefox. See what I mean? You can click on the Download Demo button at the bottom of the page on the website to get a zip of all the code. So, how do you get this working, hopefully in a compliant manner, in both IE and FF? Even if Framesets are not an ideal solution, it would be interesting to find the answer. Also, I hate being defeated by software quirks. Any ideas? Hi All, A client has asked me to create a drop-down list that will jump to bookmarks WITHIN THE PAGE - does anyone know how to do this? All that I can find online are tutorials with scripts for re-directing to other pages, but this does not need to be that dynamic. My guess is that this will require something along the lines of: Code: <select> <option value="#services">Services</option> <option value="#products">Products</option> </select> Where each option points to a link within the page. This being the case, there should not need to be a submit button either - anyone know how to achieve this? Hi, I've been searching around for some help on how to create a quick links drop down menu. I've not been able to find anything to help me. I am looking for my quick links drop down menu to be similar to the one on www.streamline.net Im not sure if this can be acheived by using an HTML form or php? If you have any advice or know of any tutorials please post here. Thank you in advance Where I have a flash drop down nav bar on top of html it is disabling the links that are underneath the flash nav bar. In firefox even the links in the nav bar do not work where they overlap. HELP!!!! Much appreciative ...Cory Here is the link... http://209.40.102.3/cory/PSBrokerage.asp not sure if i need a js for this but I have a web page using page jump links to navigate a FAQ page. However, I would rather have a drop down menu/form with the links instead of a list of text links. Anybody have a clue? thanks in advance. This is what I have so far as an example... <form name="jump"><select id="select" name="select"> <option value="" selected="selected">Select</option> <option value="#1">Category 1</option> </select></form> <a id="1" name="1"></a> Category 1 So I'd like to have a 160*600 box with hyperlinks displaying only a headlines I select. I would like the bottom of the box to have arrows for navigating between sections of links that fit in the box with a place to enter a page number in between them. I would like it to begin with displaying the most recently posted links starting on the last page number with that being the first page it displays. I want the bottom of the box to include below the browsing chronological browsing feature an arrow facing left with the word "search" that would open a box with a place to type in text for it to search link headlines. At the bottom of the search box I would like an arrow facing down with the words "search by label". Yes, I would like to not only select a headline for each link but also categorically label them. If I could also select images for it to automatically fill the empty space with when a new page number is started that would be great, even better if it selects ones that fill the most depending on how long the headlines are. If it repeated headlines in extra page space instead of showing images that would be cool too. I'd also like it to automatically expand in height past 160*600 to make a new page number just for a headline that doesn't fit in 160*600. I need this in HTML. My blog is episin.blogspot.com I need help creating 'specific' drop downs -------------------------------------------------------------------------------- Hey guys, Im a first time web designer. Im in my highschool gr.11 computer science course were im learning html and Css. I started creating my own individual site yesterday and i need help creating specific drop downs. This site is worth 30% of my final mark so help me. This is what they look like, please visit the link https://mycast.orb.com/orb/html/index.html Once you enter that site, ignore the top navigation we it has 'home,', open application' e.t.c I want you to look at the bottom content which have the headings "Feedback", "2.0 Beta Forums", "Help", and "Welcome to my casting Revolution". Hover over to the headings and on the left side of the heading, you will notice that little buttom that allows you to Expand/Collapse the menu. Those are the specific drop downs/(whatever they are called) that i want to create. Im not interested in the content inside of it, im just interested in making that type of expand/collapse menu. Please explan to me how i can do this, how can i implement it into my site, do i need to create the design in photoshop?.Anything that will help me create this. Your help will be highly appreciated. Hi there, I was wondering if anyone knows how to centre an image link in another frame (yes I know frames are bad but its an old website I am updating) i have <a href="picturelink" target="mainframe"> <img src="thumbnail" border="0"></a> I have tried everything from class="center" to editing the original frameset and the original page loaded into the window but I can't get the jpeg file to load up centred and so I was hoping someone might be able to help as I don't want to link all the pictures to seperate html documents with only a centred image in... Thanks for any help. |