User Profile

Collapse

Profile Sidebar

Collapse
Kaster
Kaster
Last Activity: Aug 27 '15, 12:00 PM
Joined: Nov 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Yes, sorry I misssed a >
    Code:
    <a href="javascript:void(0)" onClick="return mylist()"[B]>[/B]</a>
    The link normally works and is class styled as you propose with an image....
    See more | Go to post

    Leave a comment:


  • Link with 2 functions - depending on reference page

    Hi.
    I need to make a link on various pages with 2 functions.
    One that just act like browser-goback if vistor entered from a list-page.
    And an ordinay linkfunction (where visitor will enter at the top) when reference page is any other than the list-page.

    Have tried with this script
    Code:
      function mylist()
    {   if(document.referrer === "list-page.htm"){
                history.back();
    ...
    See more | Go to post

  • Acoder you rock!
    It did the trick. Thanks a lot, I appreciate your great assitance.
    Karsten :-))))))...
    See more | Go to post

    Leave a comment:


  • I don´t know how to write this Acoder. I have rewritten the script to look like this:
    Code:
    <script type="text/javascript">
    //<![CDATA[
    function pop() { 
    if (!foo) 
    foo=window.open('boks.htm','win4','width=700,height=460,top=11,left=300,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'); 
    else foo.focus(); 
    } 
    var foo=null; function focusfoo(){if
    ...
    See more | Go to post

    Leave a comment:


  • Can´t make it work. How should I put it? Tried ....

    Code:
    <a href="javascript:void(0)" onclick="foo=window.open('popuppage.htm','win4','width=700,height=460,top=11,left=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');return false" window.opener="parent();" onmouseover="focusfoo();"></a>
    ....and...

    Code:
    <a href="javascript:void(0)"
    ...
    See more | Go to post

    Leave a comment:


  • Popup box without reload when activated from a different url.

    I am using the script below on several webpages, to pop up a window where people can order some things. It works well when shifting forth and back between the same page from where it is activated.
    But when it is reactivated from another page on the website the popup is reloaded and things written here dissapear. Is there a way to avoid the popup to reload and only come into focus when clicked from another page?

    Code:
    [  <script
    ...
    See more | Go to post
    Last edited by acoder; Nov 10 '08, 06:51 PM. Reason: Added [code] tags
No activity results to display
Show More
Working...