Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Linking To Iframes !?
kvarnerexpress
post Feb 22 2006, 03:42 PM
Post #1


Super Member
*********

Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



I have a Java Menu and on the data part of it which would be al the text and links i have


td_1 = "Home "
url_1 = "home.html "
td_2 = "Biography "
url_2= "bio.html"
td_3 = "Gallery "
td_4 = "W W W "
td_5 = "Guestbook "
url_5 = ""
td_6 = "More... "

and alot more of course!

but how do i get them to open up in the Iframe

do i put them like this?

td_1 = "Home "
url_1 = "home.html " target="mainFrame"
td_2 = "Biography "
url_2= "bio.html" target="main"
td_3 = "Gallery "
td_4 = "W W W "
td_5 = "Guestbook "
url_5 = ""
td_6 = "More... "

I put url_1 = "home.html " target="mainFrame" but nothing,i need to open in mainFrame,I need code....

And so forth?

I would realy apreciate some help here
anyone got any ideas if this is correct or if theres a better way of doing it?
Go to the top of the page
 
+Quote Post
smartbei
post Feb 24 2006, 10:58 AM
Post #2


Newbie [Level 3]
***

Group: Members
Posts: 45
Joined: 24-February 06
Member No.: 19,079



Firstly, I would do it using an array, as it is much neater and easier to access:
CODE
var titles = new Array("Home", "Biography", "Gallery");
var urles = new Array("home.html", "bio.html", "gallery.html");


Next, to send pages to the iframe you would write:
CODE

function open_content (which) {
     iframename.location = urles[which];
}


Or something like that.
Go to the top of the page
 
+Quote Post
kvarnerexpress
post Feb 24 2006, 11:01 PM
Post #3


Super Member
*********

Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



thanks!
Go to the top of the page
 
+Quote Post
smartbei
post Feb 25 2006, 03:56 PM
Post #4


Newbie [Level 3]
***

Group: Members
Posts: 45
Joined: 24-February 06
Member No.: 19,079



QUOTE(kvarnerexpress @ Feb 25 2006, 01:01 AM) *

thanks!


No Problem :-)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Away With Iframes(3)
  2. Linking To Mysql From Vb(7)
  3. Linking A Url To A Button(4)
  4. Php Linking(2)
  5. Vb 2008 Linking To Another Form..(0)
  6. Check Referrer To Prevent Linking Yours From Other Sites(8)
  7. Php Linking(4)
  8. Html In Os X- Linking To An Alias(0)
  9. How Do I Remove The Iframes Scrollbars?(5)
  10. Will This Code Work(5)
  11. Php And Iframes(15)
  12. Question About Linking(3)
  13. Tips For Linking(5)
  14. Prevent People From Linking To Your Downloads(5)
  15. Simple Php Calendar And Yahoo! Calendar Connection(7)
  1. Iframes Coder Needed(4)
  2. Title Tags For Linking Text?(3)
  3. How To Stop Image Hot Linking(17)
  4. Use External Linking To Increase Traffic(4)
  5. Iframes(5)
  6. A Question About Iframes(7)
  7. Fossil Linking Land To Sea(2)
  8. A Question About Html Iframes(7)
  9. Linking To Mp3's(7)
  10. Linking(1)
  11. A Couple Of Phpbb Questions(5)
  12. Does Trap17 Have A Button?(7)
  13. Iframes (and Other Annoyances)(7)
  14. Linking CSS to HTML(2)
  15. Javascripts and Iframes withing php nuke ????(1)


 



- Lo-Fi Version Time is now: 23rd November 2008 - 12:45 AM