I've been searching for an example of a javascript rollover effect,
and I'm beginning to think it's impossible, dare I say? Here's what
I'm looking for. It's a double rollover effect. You mouseover an
image and it swaps the image itself, and editable html text in another
location. Here's the catch. The mouseover effect around the image is
created in CSS (table border) so there's no need to use dual images for
on and off states. The other catch, and this is the big one, is when
you first hit the page, one of the images is preselected (on state)
with text on as well... that is, until you mouseover another image.
Whichever image you mouseoff last stays selected in the on_state until
you a) refresh the page b) mouseover another image again.
If anyone can find an example of this, you are my hero. OR, if anyone
thinks they can write this script, I will pay a $ for the code, amount
to be determined. Only SERIOUS inquires please. 1 1266
Joey_Stacks wrote: I've been searching for an example of a javascript rollover effect, and I'm beginning to think it's impossible, dare I say? Here's what I'm looking for. It's a double rollover effect. You mouseover an image and it swaps the image itself, and editable html text in another location. Here's the catch. The mouseover effect around the image is created in CSS (table border) so there's no need to use dual images for on and off states.
Lately that has been done using hover and CSS to slide the image
left/right instead of using script to swap it. However because you want
the image to 'stick', script is required so it works only on mouseover,
not mouseout (i.e. a mouseover re-sets all the images, then slides the
current mouseover image).
This can be achieved by simply changing the class of the rollover
elements. A pure CSS example is here:
<URL:http://www.christianmo ntoya.com/2006/02/01/pure-css-image-rollover/>
The text bit requires some script, but that's not too hard. The hard
part will be making it degrade gracefully.
The other catch, and this is the big one, is when you first hit the page, one of the images is preselected (on state) with text on as well... that is, until you mouseover another image.
Not too hard. Have a searchstring in the URL so that a script can tell
which image to 'slide' and text to show.
Whichever image you mouseoff last stays selected in the on_state until you a) refresh the page b) mouseover another image again.
As above - use script and mouseover, don't reset on mouseout or use
hover (which are the usual ways).
If anyone can find an example of this, you are my hero. OR, if anyone thinks they can write this script, I will pay a $ for the code, amount to be determined. Only SERIOUS inquires please.
I'll have a spare half hour tomorrow pm my time, name a figure. :-)
--
Rob This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chuck Amadi |
last post by:
Hi all
Anyone know a good Pygresql Tutorial for Interfacing between Python &
Postgresql .
Cheers
Chuck
|
by: Leif K-Brooks |
last post by:
Has anyone ever tried implementing a simple unstructured BASIC dialect
in Python? I'm getting interested in language implementation, and
looking at a reasonably simple example like that could be pretty
interesting.
|
by: vic |
last post by:
My manager wants me to develop a search program, that would work like they
have it at edorado.com.
She made up her requirements after having compared how search works at
different websites, like eBay, Yahoo and others.
This is what she wants my program to be able to do:
(try this test at different websites just for fun).
At eBay:
- enter the word 'television' in a search field à you will get 2155 items.
|
by: Danny Lesandrini |
last post by:
I'm using an Access database to drive a web site and the
colors of various table backgrounds are stored in Access.
I want users of the Access database to be able to select
colors for the site, but my mappings between named colors,
HEX values and the Long Integer values used in Access are
not jibbing. Anyone have a nice list laying around?
Danny J Lesandrini
dlesandrini@hotmail.com
|
by: Bruno Alexandre |
last post by:
Hi guys,
does anyone know where is the Website used in the MSDN "Lear ASP.NET 2.0
with Jeff Prosise"
(http://msdn.microsoft.com/asp.net/beta2/multimedia/default.aspx) events?
The website used is called "Contoso", but I can't find it in the MSDN
site, so I can evaluate it with the webcasts.
If anyone know here is it, or if anyone is using it, please post here a
| |
by: JackO |
last post by:
I can't seem to find a good example of how someone resolved the
currentpageindex error that occurs when I try and page to another page on my
datagrid. My subroutine is:
Private Sub DataGrid1_PageIndexChanged(ByVal source As Object, ByVal e
As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles
DataGrid1.PageIndexChanged
'Change pages on the grid.
DataGrid1.CurrentPageIndex = e.NewPageIndex
DataBind()
|
by: Ivan Marsh |
last post by:
Hey Folks,
I'm having a heck of a time wrapping mind around AJAX.
Anyone know of a simple, straight-forward example for pulling a simple
query from mysql with PHP using AJAX?
As I understand it I need a PHP script that pulls the query and dumps the
data into XML format, that is called by triggering a javascript event that
reads that file with XMLhttprequest.
|
by: JohnQ |
last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post).
It would be more than a little bit nice if C++ was much "cleaner" (less
complex) so that it wasn't a major world wide untaking to create a toolchain
for it. Way back when, there used to be something called "Small C". I wonder
if the creator(s) of that would want to embark on creating a nice little
Small C++ compiler devoid of C++ language features that make...
|
by: doc |
last post by:
Anyone tell me about patServer please.
Does anyone know where I can find instructions on how to use patServer - spent ages on the net trying to find a 'how to'. Specifically, where to put each of the files in one of their examples (say, tictactoe) and whether I need to use CLI to start patServer - if so how to do that. Adapting it for my purposes seems fairly straight forward but I just need to get an example running.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |