Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stephence

    OO Javascript - Image Preloader

    Hi Raj Feel free to use it - all I ask is that you leave a comment reference to me and my homepage on the include of my script and RoyW on the include of his one, and let me know the URL of your page so I can see it in action! You need to download these two files and upload them to your site...
  2. stephence

    Cross Browser Javascript

    The following link has a few routines which are totally brilliant for cross-browser layer manipulation - throw away your own ones and use his! www.javascript-fx.com Stephen www.daisy.fslife.co.uk
  3. stephence

    I have one page which has a back-da

    I have one page which has a back-dated expiry - prompting the browser to reload from the server each time it's accessed. From that page I have a mechanism to determine which other pages have changed since the user last visited them. I then generate links for each page, and where the page is...
  4. stephence

    OO Javascript - Image Preloader

    Thought some of you might be interested in this. I've not seen any mention of OO Javascript on this forum - yet it's simple and flaxible. Here's a little example. Image preloading is very simple - just load the blighters into an array and Robert is your Mother's Brother... Yet - how many...
  5. stephence

    Simple code does not work

    You don't need to qualify &quot;alert&quot; with &quot;window.&quot; You should close the <body> with </body>. I think between us we've covered just about every line... Don't get disheartened - you're still on the easy stuff! Stephen http://www.daisy.fslife.co.uk
  6. stephence

    Alternate code for Netscape

    Have you got a </FORM> ? NS is very fussy about tag closure. It's be easier for us if you upload the page and put a link to it for us to see the whole thing in action. Stephen http://www.daisy.fslife.co.uk (though my index page (only) absolutely slaughters netscape at the moment and I just...
  7. stephence

    Window size script.

    Here you go - this is a fantastic script which is cross-browser compatible and degrades gracefully on older broswers: http://www.codelifter.com/main/javascript/amazingframelesspopup1.html Stephen http://www.daisy.fslife.co.uk
  8. stephence

    Passing variables

    That is very, very sneaky....and I like it! I think I'll have a play - as I've been looking for another way to pass simple data. Cookies are great for complex stuff. S
  9. stephence

    focus of windows

    This is what you do when you open the window, assign it to a variable. You then have full access to the window through the variable: <SCRIPT> function myopen(url){ mywind=window.open(url,'stephens_window'); mywind.focus(); } </SCRIPT> Stephen http://www.daisy.fslife.co.uk
  10. stephence

    Passing variables

    I don't know of any other way of doing it without using cookies - but then if you have some good cookie code they're not too much of a problem to use. I've got some useful code in: www.daisy.fslife.co.uk/js/global.js - I keep track of which pages have been accessed, and when the last visit was...
  11. stephence

    Swap image inside &lt;div&gt; NN errors

    Sounds like you need to read up the way NS works: IE has a very 'flat' structure - you can reference any element however nested it is within other elements. Imagine a directory structure where you can reference any file by name without specifying a path! Netscape has a 'tree' structure. Using...
  12. stephence

    netscape problem

    I tried it and it works fine in NS 4.5... Stephen http://www.daisy.fslife.co.uk
  13. stephence

    valign for table ?

    Don't forget that Netscape is very picky about closing tags - so for every <TD> you need a </TD>... Stephen http://www.daisy.fslife.co.uk <body> <table width=&quot;100%&quot; height=&quot;100%&quot;> <tr> <td valign=&quot;middle&quot; align=&quot;center&quot;> <table...
  14. stephence

    Hi there, To make a popup winow

    Hi! This is about as close as you're going to get...in IE there's nothing - even a close! Netscape's not going to let you play that game as it's rather more concerned about security than IE. http://www.codelifter.com/main/javascript/amazingframelesspopup1.html I hear that Netscape's on the...
  15. stephence

    Why is netscape ignoring CLASS= ?

    This is getting frustrating - netscape used to be happy with the CLASS=m, but now it's ignoring my styles (whatever I do) on my drop down menus: www.daisy.fslife.co.uk IE is quite happy - though in IE the link's wihin a table while in Netscape it's just directly in the layer (so that I can do...
  16. stephence

    dialog window

    Here's how to do it with a normal window: http://www.codelifter.com/main/javascript/amazingframelesspopup1.html I'm not sure about dialog boxes though - I've not seen it done
  17. stephence

    change color of table cell on Mouse Over in Netscape

    One way is to use the layer background colour in Netscape rather than a table - see my menu on: www.daisy.fslife.co.uk (look for the code immediately after &quot;hovercolor&quot;) If you can see why it ignores the CLASS=m on the anchor in Netscape I'd appreciate it...it used to be perfect...
  18. stephence

    absolute position of relativly positioned element

    Even easier in NS - you've got .x and .y. To sum up: if(document.all) { var myx = yourelement.offsetLeft; var myy = yourelement.offsetTop; } else { var myx = yourelement.x; var myy = yourelement.y; } If you find an easy way to locate yourself within a table I'd like to know -...
  19. stephence

    Bring-to-front

    Hi! This is a very annoying thing for the user if they really want to leave your window - but this script below works for me. Just don't try to get it running from both Netscape and IE windows like I just did as you get focus flipping from one to the other...flicker flicker...scream! <HTML>...
  20. stephence

    rounding to the tenth

    Yes - multiply by 1000, round it, then divide by 1000...

Part and Inventory Search

Back
Top