| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) | ||||
| New Member Join Date: Jul 2004
Posts: 5
![]() | |
| Quote: |
|
Code for javascript linking to multiple <iframe>'s uses this function: ????: NamePros.com http://www.namepros.com/programming/37572-javascript-link-for-multiple-iframes.html function loadFrames(frame1,page1,frame2,page2) { eval("parent."+frame1+".location='"+page1+"'"); eval("parent."+frame2+".location='"+page2+"'"); } The code to activate the multi-links is: url=javascript:loadFrames('FrameA','http://www.google.com','FrameB','http://www.yahoo.com') This could easily expand to however many iframes you need! |
Thanks. ![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |