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 Mike Lewis 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: *

  • Users: lesj1968
  • Order by date
  1. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    Please can anyone provide help on this... on how to make an image swap if a mouse is hovered over it? Many thanks.
  2. lesj1968

    "Object expected" error - Code: 0 ...how can I resolve this?

    Ah good point... I didn't realise that. Thanks.
  3. lesj1968

    "Object expected" error - Code: 0 ...how can I resolve this?

    I've cracked it. I removed the openpeeker function from the body tag and it all works fine. Thank you guys for all your help. I'm not sure how I missed it but openPeeker was an old function that I had forgotten I had removed from functions.js! No wonder it was trying to get an object that...
  4. lesj1968

    "Object expected" error - Code: 0 ...how can I resolve this?

    When I debug the code the problem appears to be writeMenus() in the body tag. The spelling is all consistent. I've gone over all of it many times without success. I'm sure it must be something very simple. My menu code in functions.js was submitted in one of my earlier posts today. I can...
  5. lesj1968

    "Object expected" error - Code: 0 ...how can I resolve this?

    Here is my code in default.asp (which I have removed all unnecessary lines but error still keeps occuring): <%@ Language=VBScript %> <% OPTION EXPLICIT %> <!--#include file="includes/Browsercheck.asp"--> <!--#include file="includes/Connection.asp"--> <!--#include...
  6. lesj1968

    &quot;Object expected&quot; error - Code: 0 ...how can I resolve this?

    Hi Jeff I'll try what you suggest thanks. Not sure what you mean when you mention validating my html agains the doctype. I have tried removing all code other than the DisplayMenu() and body tag (specifically the onLoad call to writeMenus()) and it is certainly related to both of these...
  7. lesj1968

    &quot;Object expected&quot; error - Code: 0 ...how can I resolve this?

    Yes I agree it appears to be something to do with the order of how the writeMenus() and DisplayMenu() functions are called. In functions.js, writeMenus() does come before DisplayMenu(), however I have inserted test alert statements to see which is actually called first in functions.js when...
  8. lesj1968

    &quot;Object expected&quot; error - Code: 0 ...how can I resolve this?

    Hi I have the following simple function in a file called functions.js (which is located in a subfolder called "includes"): function DisplayMenu(){ document.write("Test"); } I then have an ASP file called default.asp which calls the function above as follows: <!--#include...
  9. lesj1968

    How can I create a drop down menu with OnMouseover images in the menu?

    Anyone? My main concern is how to ensure the menu is resized if screen resolution is altered. Is there a function that can be applied to make this automatic? Thank you in advance.
  10. lesj1968

    How can I create a drop down menu with OnMouseover images in the menu?

    Hi Ok, I have given up on my original request as time is getting on and I haven't been able to find a solution. For now I am going to keep the images static without any image swapping. However I have another question. I have created a file called functions.js which includes all the menu code...
  11. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    Yes I appreciate all your help guys. Thank you. I can see what you mean about testing the code on other browsers however that will be for the future as my internal intranet only uses IE6. However if I make the menu system available to the public I will look into making sure it is tested and...
  12. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    I'm not sure what your last comment means and what help it is. I'm developing a menu system for my internal network which runs on IE. Thank you for your help Vragabond. I'll take a look at the link you mention.
  13. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    Hi thank you for your reply. I'm not sure why I should download Firefox. Surely user's browsers will mainly be IE hence I need to ensure it works on this platform?
  14. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    Hi Thank you for your help. Here is my code using what you have written above and part of my menu system which accesses the CSS style: <style type="text/css"> <!-- #test { background:url(images_navigation/welcome.gif); } #test:hover {...
  15. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    Thank you for your reply. I've tried the above by calling "test" as a class and also "id" within the image and both HREF tags but without success. The hover part of the code above does not work. Is it vital that I use a DIV tag? I'm assuming it's not possible to swap an image in a CSS class...
  16. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    I've just checked and I have already tried creating a class which sets a background image for my tags. However this is not what I need unfortunately - I need a simple CSS class that can actually swap the current image for another one. Is this possible in CSS? Thank you for any help.
  17. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    Thank you for your reply. Are you able to supply an example as I think I may have tried this already without success but I'm not sure if I've been doing it correctly?
  18. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    Thanks. I had a look but it tends to deal in specific images. My images are GIF images but have a colour in them. The function in the website you mentioned requires the image to be plain with no colour. Do you know of any other websites or does anyone know of any good CSS function classes...
  19. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    Thanks Jeff. I'll take a look. Cheers Les
  20. lesj1968

    Can a CSS stylesheet function swap images using OnMouseOver / rollover

    Hi Please can anyone tell me if there is a CSS stylesheet function class that can swap images using OnMouseOver or Rollover? I have a menu system and would like to apply a class to the current image that is representing each root menu option. Thank you for any help. Les

Part and Inventory Search

Back
Top