Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
  • Need potential reciprocal link partners. (In: General Search Engine Optimization)
  • Featured Web Site Template

    Hundreds More at Free Site Templates.com!

    Web Site Partners
    Sponsored Links
    Jet City Software
     
    Whos Here ?
    Reflects user activity within the last 5 minutes
    Moderator(s): Prowler, jcokos
    Member Message

    andyx
    Joined: Dec 20, 2005
    # Posts: 9

    View the profile for andyx Send andyx a private message

    Posted: 2005-Dec-20 20:36
    Edit Message Delete Message Reply to this message

    Hi, everyone

    On my site i use simple Java script to open a smaller window :-

    <A onclick="window.open('http://www.sitename.co.uk/page_name.php?c=xxx&c=yyyyy,'Title','width=430,height=600,scrollbars')" href="javascript:void(0)" onMouseOver="window.status='window in message;return true;" onMouseOut="window.status='Window out mesage';return false;" title="alt message">Text Message<a>

    This is great and works fine, but !!

    If any of these links with the above code are clicked before the page "loads" it freezes the page and all buttons and links do not work !

    Having looked at my page code, i see that some of the Java appears at the start of the page in the "Head tag" and some of the Java code always appears at the end of the page code, so i assume that if the page doesn't load before a Java link is triggered, the Java code is incomplete so freezes the page ??

    I'm i Wright ????

    If so how do i fix or create a work round for this problem ?

    My Java code is loaded in each individual page, would it be better to place this in an include page or a:-
    <link href="/Stylesheet.css" rel="stylesheet" type="text/css">
    If so, do you need to place it in a special Java page link like the CSS above ?
    Please show.

    Thanks
    Andyx sad




    Curt
    Joined: Eons Ago
    # Posts: 3747

    View the profile for Curt Send Curt a private message

    Posted: 2006-Mar-10 00:10
    Edit Message Delete Message Reply to this message

    Sounds like a browser issue on your computer. Other people might run across similar issues. Unfortunately, there isn't a good fix for that. There are coding variations you could use such as for example:

    1st file name: test.htm


    Code: [copy]





    2nd file name: open.win.js


    Code: [copy]





    Give that a try. Edit JavaScript to your liking.

    Pet Peave: Java is not JavaScript.


    You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
    1. You have not yet logged in, or registered properly as a member
    2. You are a member, but no longer have posting rights.
    3. This is a private forum, for which you do not have permissions.

    If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

    If you cannot find this message, click here to Re-Send it.

    If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

    Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

    New posts Forum is locked
    © 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions