vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   iframes cluttering up history in IE (https://vborg.vbsupport.ru/showthread.php?t=121340)

PeeweeJD 07-16-2006 03:24 PM

iframes cluttering up history in IE
 
I have a hack on a board that can toggle avatars toggle xbox live gamercards.

For each post, the avatar area loads 2 divs: one shows the icon, the other shows an xbox live gamercard in an iframe

The xbox live one is hidden by default. To show it, a user clicks an xbox 360 logo under the user info area and a javascript toggles the visibility of the two divs.

Here is the html that ends up in the browser.
Code:

<div id="foreground_56432" style="display: block;">
&nbsp;<br /><a href="member.php?u=61"><img src="image.php?u=61&amp;dateline=1153025849" alt="Seth's Avatar" border="0" /></a>
</div>
<div id="background_56432" style="display: none;">
<br/><iframe src="http://gamercard.xbox.com/Diamond Jack.card" scrolling="no" frameBorder="0" height="140" width="204">Diamond Jack</iframe>
</div>

It works great except for one thing (and so far its only a problem in IE). For each iframe it adds a history entry for the iframe's "src". So users have to click "back" like 12 times to go back.

Can anyone help me stop this behavior?

PeeweeJD 07-17-2006 10:24 PM

first and last bump

can anyone help me with this?

thanks in advance


All times are GMT. The time now is 01:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01068 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete