Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

refresh(F5) code!


jevjh

Recommended Posts

hey~~ ^^

I was wondering if anybody can help me out with this.

 

I need refresh command.

once customer comes to site, it automatically refreshes once. and stop.

 

 

----------------------------------------------------------------------------

<script language='javascript'>

function reloadOnce() {

window.setTimeout('window.location.reload()',1000); //1second loop

}

</script>

 

I used this.. but I wanted it to get refreshed just once.

-------------------------------------------------------------------------------

 

so I found code

---------------------------------------------------------------------------

 

<script language=" JavaScript" ><!--

function MyReload()

{

window.location.reload();

}

//--></script>

 

Then change your <Body> to say;

 

<Body onLoad=" MyReload()" >

------------------------------------------------------------------------------

 

 

but... I doesn't do anything...

what should I do????

Link to comment
Share on other sites

No idea how to do that but please only post a specific question in one area. Cross posting is against the rules... and a pain. :)

Edited by wendyjames

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...