frames not working in firefox

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

Join Date: Jan 2009
Posts: 1
Reputation: *amy* is an unknown quantity at this point 
Solved Threads: 0
*amy* *amy* is offline Offline
Newbie Poster

frames not working in firefox

 
0
  #1
Jan 2nd, 2009
hello. i've been working on a website and everything works/looks fine except when viewing the site with firefox on a mac...

one of the pages has two frames that should work at the same time when a link is clicked on the page. however neither appear. i have another page which has only one frame and it is working fine. so i'm thinking there must be something in my code which is making it impossible for the two frames to work smoothly in firefox. i hope this makes sense...


here is the problem page (with two frames, one to the left of the links and one above the links):
http://www.cakewithgiants.com


and this page works fine (with one frame to the left of the links):
http://www.cakewithgiants.com/pictures.html


if anyone can shed some light i'd really appreciate it, thankyou.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,649
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 474
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: frames not working in firefox

 
0
  #2
Jan 2nd, 2009
On the mentioned web page there are no frames, only inline frames; they are different things and also handled differently.

In the second URL you posted, the function invoked on a link click is loadintoIframe() while for the first URL you posted, the function invoked is getPages() . Changing the function call in the first page to javascript:loadintoIframe('myframe','text17.html'); seemed to work. Maybe invoking the loadintoIFrame function twice, once with 'myframe' and the next time with 'myframe2' might solve the issue at hand.

Don't use the javascript: i.e. javascript pseudoprotocol, it's not required. When developing with Firefox, make sure you use the Firebug addon which adds capabilities like javascript debugging and many other goodies. Your web page doesn't have a DOCTYPE declaration which makes the browser go in quirksmode which loosely means that the rendering engine won't know which HTML specification to follow when rendering the markup.
I don't accept change; I don't deserve to live.

Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
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
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