Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

suggestions please

Status
Not open for further replies.

ruggedscot

Electrical
Feb 17, 2003
416
This is one that has been making me think....

I saw a site a while back and Id love to know how they did it and how this could be used.

There was a list of items on the left hand side of the page, when you hovered the pointer over that item it brought up a picture. When you clicked on the item it opened the page. I have seen a use for this and it would be blow away representation of a project. I have a large number of remote sites that needs to be monitored and Id like to be able to set this up so when the mouse was near to the name it would bring up a page with a photo and some descriptive information. When it was clicked on it would open up another page and you would be able to obtain more information from this page about the site. Is this really difficult or is it quite easy?
 
Replies continue below

Recommended for you

I've put together plenty of simple stuff like that... javascript (not java) is your friend. If you can write basic programs in C, you'll have no issues with javascript. Plenty of example code out there for everything under the sun, just cut, paste, and hack together the functionality you need. Just a couple of lines of script are all that's need to create a webpage that will change a picture when the mouse rolls over it, and this sounds like exactly what you need.

Create a small pic of the site (or some text), roll over the small pic and a large version shows up. Updating the image to the latest info will take a bit more logic, but the overall idea is truly just a few lines of script.

Dan - Owner
Footwell%20Animation%20Tiny.gif
 
Where do I start and where is this found on the web?

Thanks for your help so far
 
Google "javascript tutorial"... plenty of sites also offer JS code snippets to do specific functions. I find these more useful as I can hack several of them into the functionality I want.

Dan - Owner
Footwell%20Animation%20Tiny.gif
 
Hiya-

Just a head's up. I did something like that in the past and I found that although I had updated my picture on the server, the browser, in it's infinite wisdom (even with the cacheing off) still decided that since the picture was the same filename, it didn't need to go out and get a new version.

I used my server log's to find that. Apache's log and a tail -f pointed it right out. I had to use varying file names for the picture. I used PHP for the server scripting and javascript for the client (browser) scripting.

Hope this little head's up will help.

Cheers,

Rich S.
 
Cheers - Im doing my research on this one and trying to see if it is viable and how easy it is to achive - bang for the buck as they say - too much buck and it wont be a goer, we could have something like 500 site or so distributed about and having this would be a great tool but not to the detriment of the actual task in hand.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor