473,388 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Need help with image and text swap with rollover effect

Thanks in advance. Not very well versed in javascript but I'm pretty
good at piecing together code that works.

I am creating a page that has will have definitions on one side and a
blank area below and to the right. What I want to happen is for the
words to be highlighted on rollover but then I want the definition of
the word plus an image to appear on click.

I have a semi functional version working now at
http://www.vaskin.com/NewSite/relaxationtherapy.htm. However, I have
noticed that the code is getting ridiculous and redundant and I want
to streamline it with an external sheet if possible.

Currently I am using the <divcommand and making the elements appear
and disappear at random but it is getting out of hand with all of the
words and definitions. Any help to streamline this would be greatly
appreciated as I can't seem to find anybody else who is doing the same
thing.

Jul 11 '07 #1
1 3314

"twst3d" <tw****@gmail.comwrote in message
news:11*********************@p39g2000hse.googlegro ups.com...
Thanks in advance. Not very well versed in javascript but I'm pretty
good at piecing together code that works.
No you are not. Nothing personal, but thinking like that is what makes for
lousy Web sites.
>
I am creating a page that has will have definitions on one side and a
blank area below and to the right. What I want to happen is for the
words to be highlighted on rollover but then I want the definition of
the word plus an image to appear on click.

I have a semi functional version working now at
http://www.vaskin.com/NewSite/relaxationtherapy.htm. However, I have
noticed that the code is getting ridiculous and redundant and I want
to streamline it with an external sheet if possible.
You really need to write this page without script first. And to do that you
will need to learn HTML. Forget JavaScript for now. Trust me.
>
Currently I am using the <divcommand and making the elements appear
and disappear at random but it is getting out of hand with all of the
words and definitions. Any help to streamline this would be greatly
appreciated as I can't seem to find anybody else who is doing the same
thing.
Here's hoping you don't find anybody else doing the same thing.
Jul 11 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mrb | last post by:
Is it possible to rollover an image in one table and create an effect in another table? I've looked all over for an answer to this but seem to be unable to find an answer. I want to be able...
2
by: Koh | last post by:
My rollover image effect work fine in Netscape but not in Internet Explorer. Is there any important element or tag that I have miss out so it is not working in Internet Explorer? Below is my code,...
1
by: Danny | last post by:
I have this code below to do a rollover image. IT doesnt work with the onmouseclick event. But it wil lwork fine with the onmouseover so when the user hovers over the image, the main image...
3
by: JOSEPHINE ALVAREZ | last post by:
I have this code that I want to use to do a rollover. However, because the company I am doing it for is continually changing the text, I want to be able to use dynamic text to change the text on...
14
by: webguru | last post by:
Okay, In the comps.language.javascript newsgroup, I was convinced to use CSS Rollovers instead of javascript. The first rollover went great. Although I can't get the text to align vertically in...
0
by: Paul E Collins | last post by:
Hello. I want to display a number of individual blocks of text. Each block has an associated image, which should be displayed on the right and aligned with the top of its block of text, i.e....
2
by: smokeyd | last post by:
i am trying to create a simple image button rollover.. i have searched this forum and found a number of solutions but none seem to work. i am just trying to get the onmouseover to swap the image...
3
by: PEJO | last post by:
I'm not much of a JS programmer so I used the the standard Macromedia swap image function for a disjointed rollover..which works fine.. no problem swapping the image with that code.... but when...
8
by: Dave Rado | last post by:
Hi Roderik On 15 Apr, 23:44, Roderik <nos...@atall.nlwrote: The image's position is defined relative to the right hand edge of the text, and depending on the what fonts the user has...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.