473,769 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3346

"twst3d" <tw****@gmail.c omwrote in message
news:11******** *************@p 39g2000hse.goog legroups.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
1681
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 to rollover the thumbnails down the right and have the corresponding larger image in the middle (also, if the mouse is not over any of the images for the middle to be blank)
2
2028
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, hope there is someone can help me. Thank you. <html> <head> <title>List of Products</title> <script language="JavaScript"> <!--
1
24884
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 changes. I am trying to do an onmouseclick event so when the user clicks on the link, it will change the main image, but it doesnt work. What can I do? <img name="rollover" src="/images/image1.jpg" border=0 width="200" height="300" > <a href...
3
2722
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 the fly, and still have the rollover work. I have taken the text off of the buttons, but cannot figure out how to do it with dynamic text using javascript and html. For example, in the columns of this row, I want to put "About...
14
1898
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 the middle, It's a much cleaner way to do it and it works okay. However, my second rollover is not as good. This one has no text over the button, and the CSS looks like this: a.go:link{
0
1396
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. (use a fixed-width font to view this!) Some short text. +-------+ | | +-------+
2
8797
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 then restore when rolled out on a web page in vb.net. please can someone help?
3
2023
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 I add the following to the onMouseOver to the thumbnail: onMouseOver="Product_Link.href='http://glasstoilets.com/catalog/tank1-p-28.html'; and this to the full size...
8
2629
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 installed and what browser and OS the are using, that position would vary; how can one give text a background image that is 3px to the right of that text?
0
9583
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, 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...
0
9423
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,...
0
10039
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 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...
1
9990
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9860
tracyyun
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...
0
8869
agi2029
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...
1
7406
isladogs
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...
0
6668
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();...
2
3560
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.