Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » refreshing problem.


refreshing problem.

Reply
  #1 (permalink)  
Old 01-13-08, 07:35 AM
jonnekke jonnekke is offline
Code Guru
 
Join Date: Oct 2005
Location: holland!
Posts: 704
Thanks: 0
Thanked 0 Times in 0 Posts
refreshing problem.

Hi there,

got a question about this:

I'm designing a website. At the top of the page is swf with an image gallery wich are fading in and out. This swf is a loop. This has to keep looping as long as someone is on
this site. When I click to another part of the site the movie shouldn't start again.

Is ther a way to manage this without iframe? I don't like to work with iframe, i like div more. But is there a way to "change" the content of a div instead of the whole page?.

It's no option for me to preload al optional div's.

Hope there is a solution!

thnx!.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 01-19-08, 04:51 PM
Alex.css's Avatar
Alex.css Alex.css is offline
Newbie Coder
 
Join Date: Nov 2007
Location: Canada
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
I javascript would be better. But, you can do it under PHP:
PHP Code:

<?php

if($_GET['showswf'] == "yes")
{
?>
<div>
 <!-- your SWF here -->
</div>
<?php
}
else
{
}
?>
So, you can do something like this in your website file :
Code:
<script language="Javascript">
document.location.href='yourpage.php?showswf=yes'
</script>
But if you do this, you must seperate your page with $_GET value.
Otherwise, I don't really know if there is something else to do :/

Hoping that it helped you .

Alex.css
__________________
Alex.css
.:ImperialBB's French Translator:.
Even us aren't able to save ourselves - Anonymous, Japan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pls help website problem! iangarrinud CSS 1 01-03-08 02:48 PM
login, roles problem dbrook007 ASP.NET 10 11-10-06 04:42 PM
Form Display Problem neevrap02 Visual Basic 1 09-05-06 06:18 AM
Count problem kasic ASP.NET 1 10-20-04 01:23 AM
Asp and Microsoft Access 2002 problem gop373 ASP 2 10-06-04 10:13 AM


All times are GMT -5. The time now is 06:57 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.