Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-21-2004, 02:31 PM
WebProWorld New Member
 

Join Date: Jan 2004
Location: London, UK
Posts: 6
szirtest RepRank 0
Default Intermittent Frame problem

I'm having an intermittent problem with opening a link in frames (I'm using iExplore6). I have a navigation bar in one frame, that opens a link in the main information frame. My fear is that on some browsers this could be happening 100% of the time.

I'm using:

[code]<a href="mylink" target="main"></code]

to access the link and

[code]<frameset ...> <frame name="nav"><frame name="main"></frameset>

to define the frames...

This works 99% of the time, but occasionally the link opens up in the top level window not the target.

Anyone had this problem? Is there a way to solve it (other than remove all frames from my website).

Thanks

Tom
Reply With Quote
  #2 (permalink)  
Old 01-21-2004, 09:26 PM
sma sma is offline
WebProWorld New Member
 

Join Date: Jan 2004
Location: Myanmar
Posts: 5
sma RepRank 0
Default

I havn't have such problem eventhough I used it a greate deal of times.
I suspect misspelling of target name of the link.
If you still have problem, let us have the nearest sample to approach the problem.
__________________
(0__0)SMA(0__0)
Reply With Quote
  #3 (permalink)  
Old 01-21-2004, 10:34 PM
WebProWorld New Member
 

Join Date: Nov 2003
Location: Rochester, NY
Posts: 2
bbcompent1 RepRank 0
Default

Usually to avoid framing problems, I make the use of the <DIV> tags as they create the same effect without having a page for each framed area. A good example of this would be if you had a table that was free-standing inside of a web page. In essence it will appear to be a framework but its not. Its still the same page with a div tag. Just my two cents worth. :)
Reply With Quote
  #4 (permalink)  
Old 01-22-2004, 08:19 AM
WebProWorld New Member
 

Join Date: Jan 2004
Location: London, UK
Posts: 6
szirtest RepRank 0
Default

The strange thing is that it works most of the time 95%, occasionally the browser goes into a mode where it loads the link in the top frame not the target frame. I need to restart the browser and then it works again!!! Though strangely my client checked the site at an internet cafe and he got the same problem.

This is the code for the frameset.

Code:
<frameset cols="*,700,*" framespacing="0" frameborder="0" border="0">
<frame name="left" src="blank.htm" scrolling="NO" border="0" frameborder="NO" framespacing="0" resize="no" noresize marginwidth="0" marginheight="0">
	<frameset cols="107,*" framespacing="0" frameborder="0" border="0">
    <frame name="menu" src="newmenu.htm" scrolling="NO" border="0" frameborder="NO" framespacing="0" resize="NO" noresize marginwidth="0" marginheight="0">
		<frameset rows="100,*" framespacing="0" frameborder="0" border="0">
		<frame name="header" src="newheader.htm" scrolling="NO" border="0"  frameborder="0" framespacing="0" resize="no" noresize marginwidth="0" marginheight="0">
		<frame name="main" src="Biography.php" scrolling="auto" border="0" frameborder="0" framespacing="0" resize="NO" noresize marginwidth="0" marginheight="0">
    	</frameset>
	</frameset>
<frame name="right" src="blank.htm" scrolling="NO" border="0"  frameborder="0" framespacing="0" resize="no" noresize marginwidth="0" marginheight="0">
</frameset>
and the menu html frame contains this

Very strange.

I know a lot of people don't like frames - I can see there disadvantages but I what I like (coming from an OO background) is that the site layout/appearance and content are seperated.

There is one (well two including the site css document) place (the index.htm that has the frameset) that defines the site appearance so changes are global without editing every page.

I must admit I'm not an HTML expert - so perhaps I'm missing a better way of doing it. How would you tackle this problem? Is there a way to embed one html document into another? (other than using a script to do it). I've never used IFrames - are they any better than regular frames?
Reply With Quote
  #5 (permalink)  
Old 01-22-2004, 08:55 AM
WebProWorld New Member
 

Join Date: Jan 2004
Location: London, UK
Posts: 6
szirtest RepRank 0
Default

oh by the way - here's the website in question:

http://www.georgeszirtes.co.uk/
Reply With Quote
  #6 (permalink)  
Old 01-22-2004, 10:18 PM
sma sma is offline
WebProWorld New Member
 

Join Date: Jan 2004
Location: Myanmar
Posts: 5
sma RepRank 0
Default

It's sound strange. I can't generate that mode in my machine. I hope it's because of some condition. I suggest you to trace this bug according to the procedure you can generate that mode.
__________________
(0__0)SMA(0__0)
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0