refresh

Discussion in 'HTML & Website Design' started by 1mak, Mar 2, 2007.

  1. #1
    hi,

    is ther a possibility to stop a webpage from refreshing at all.


    is there any html or java-code. i searched around but couldnt find anything


    :confused:
     
    1mak, Mar 2, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Is auto-refreshing with javascript ? If yes, simply disable javascript.
     
    ajsa52, Mar 2, 2007 IP
  3. rgchris

    rgchris Peon

    Messages:
    187
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You mean you want to disable the user's ability to refresh the page?
     
    rgchris, Mar 2, 2007 IP
  4. 1mak

    1mak Well-Known Member

    Messages:
    302
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #4
    disable javascript?

    i need it for other things on the site
     
    1mak, Mar 2, 2007 IP
  5. 1mak

    1mak Well-Known Member

    Messages:
    302
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #5
    my problem is that i have a toolbar with a mp3 player on it.

    this player is just a website integrated into the toolbar. the problem is that everytime someone clicks a link or refreshs page in the browser, the mp3player-site refreshes too and the song stops.


    so i wanted to solve that by disabling refresh on that site, but couldnt find any code.


    or does anybody have other suggestions to solve that??
     
    1mak, Mar 2, 2007 IP
  6. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #6
    It seems a toolbar bug. For which browser is that toolbar ?
    Of course, you can open two browsers. One only for your toolbar, and other for rest.
     
    ajsa52, Mar 2, 2007 IP
  7. 1mak

    1mak Well-Known Member

    Messages:
    302
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #7
    the weird thing is that it does work with internet explorer. it loads very well and plays the songs.

    must be a problem at firefox.

    opening two browsers is a solution,
    but i dont think that my visitors and customers will like that /:


    thx for helping
     
    1mak, Mar 2, 2007 IP
  8. veckd

    veckd Peon

    Messages:
    1,065
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #8
    you could use frames. i.e. put the mp3 player in one frame and teh rest of the page in another then only have the frame w/o the mp3 player in it refresh.
     
    veckd, Mar 2, 2007 IP
  9. 1mak

    1mak Well-Known Member

    Messages:
    302
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #9
    hmm,
    frames. thats a good idea and could perhaps work.

    will try that,
    thx.
     
    1mak, Mar 2, 2007 IP
  10. veckd

    veckd Peon

    Messages:
    1,065
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #10
    your welcome. let me know if it works out =D
     
    veckd, Mar 2, 2007 IP
  11. 1mak

    1mak Well-Known Member

    Messages:
    302
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #11
    it does refresh the frame with the mp3 player in it too

    /:

    i assume if there is no anti-refresh code,
    perhaps there is no solution for that problem
     
    1mak, Mar 2, 2007 IP
  12. veckd

    veckd Peon

    Messages:
    1,065
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #12
    try this:

    <code for mp3 player></code for mp3 player>
    <a href="wherever.html" target="actualpage">link text</a>
    <iframe name="actualpage" id="actualpage" style="border:0" src="index.html"></iframe>
    Code (markup):
     
    veckd, Mar 2, 2007 IP