frame

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Dec 2007
Posts: 52
Reputation: kishou is an unknown quantity at this point 
Solved Threads: 1
kishou kishou is offline Offline
Junior Poster in Training

frame

 
0
  #1
Mar 1st, 2008
ok i have a iframe and i want it so that when someone clicks a link inside it it opens in the same window. not a new window. i was thinkingof using onclick but it would be too much work.
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,083
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 66
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster

Re: frame

 
0
  #2
Mar 1st, 2008
Originally Posted by kishou View Post
ok i have a iframe and i want it so that when someone clicks a link inside it it opens in the same window. not a new window. i was thinkingof using onclick but it would be too much work.
Links in an IFRAME should open inside the IFRAME by default. Unless you specifically tell the link to open in a new window using either JS, or giving the target attribute a property.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum


Views: 682 | Replies: 1
Thread Tools Search this Thread



Tag cloud for JavaScript / DHTML / AJAX
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC