473,772 Members | 3,786 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Swap and iframe probs

7 New Member
Sorry for my bad english. this is my second web work and things are a little bit difficult for me, so sorry if you not understand what i want for this two situations.
First one is that I have 3 links made by 3 small images.
(e.g the links are: videos, music, pics)
These links upload 3 different .html pages in the same iframe depends on which link you click. What i want is when you make a click with mouse on the first link e.g.(videos) i want that link to swap image with different colour. (from white to red)
I have made this with behaviour and its working but my problem is that when i make a click anywhere in the page my image in the link is restore but i want to restore only when I' m gonna click in the other links (music and pics).

Second: if using exactly the same situation as the first one, but when i have a mouse over in the link (e.g videos) I want an image to swap inside the iframe
so the visitor can have a preview of whats inside that menu before clicking on it and load the html page inside the same iframe. In another words something like "swap 2 html in an iframe with on mouse over in the link" :-)

I will appreciate any help
thanks..
Mar 29 '07 #1
2 1980
acoder
16,027 Recognized Expert Moderator MVP
Post your code or a link.
Mar 29 '07 #2
sabbas
7 New Member
Post your code or a link.

[HTML]<table width="600" height="427" border="0" cellpadding="0" cellspacing="0" >
<tr>
<th width="234" height="427" align="left" valign="top" scope="col"><ta ble width="224" height="298" border="0" cellpadding="0" cellspacing="0" >
<tr>
<th scope="col"><ta ble width="100" height="309" border="0" align="left" cellpadding="0" cellspacing="12 ">
<tr>
<th width="175" scope="col"><im g src="buttons/location1.gif" width="122" height="21" border="0" usemap="#Map8" id="Image1">
<map name="Map8">
<area shape="rect" coords="3,2,66, 19" href="villages. html" target="locatio ns" alt="">
</map></th>
</tr>
<tr>
<th scope="row"><im g src="buttons/location2.gif" name="image2" width="122" height="21" border="0" usemap="#Map10" id="image2">
<map name="Map10">
<area shape="rect" coords="2,2,65, 20" href="islands.h tml" target="locatio ns">
</map> </th>
</tr>
<tr>
<th scope="row"><im g src="buttons/location3.gif" width="122" height="21" border="0" usemap="#Map11" ></th>
</tr>
<tr>
<th scope="row"><p align="left" class="style15" ><img src="buttons/location4.gif" width="122" height="21" border="0" usemap="#Map12" ></p></th>
</tr>
<tr>
<th scope="row"><im g src="buttons/location5.gif" width="122" height="21" border="0" usemap="#Map13" ></th>
</tr>
<tr>
<th scope="row"><im g src="buttons/location6.gif" width="122" height="21" border="0" usemap="#Map15" ></th>
</tr>
<tr>
<th scope="row"><im g src="buttons/location7.gif" width="122" height="21" border="0" usemap="#Map16" ></th>
</tr>
<tr>
<th scope="row"><im g src="buttons/location8.gif" width="122" height="21" border="0" usemap="#Map14" ></th>
</tr>
<tr>
<th scope="row"><im g src="buttons/location9.gif" width="122" height="21"></th>
</tr>
</table></th>
</tr>
</table></th>
<th width="366" align="left" valign="top" scope="col"><a href="images/244.jpg"></a>
<table width="366" height="459" border="0" cellpadding="0" cellspacing="0" >
<tr>
<th align="left" valign="top" scope="col"><p>
<iframe src="mainlocati on.html" name="locations " width="366" marginwidth="0" height="459" marginheight="0 " scrolling="no" frameborder="0" allowtransparen cy="true"></iframe>
<br>
</p></th>
</tr>
</table></th>
</tr>
</table>[/HTML]
Mar 29 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
6166
by: Randell D. | last post by:
Folks, I'm still learning javascript - I've invested in a couple of books and reading online as much as possible. I'm pretty sure what I am suggesting is possible though I'm trying to weigh up the faults that might go with the suggestion... all opinions welcome. My question: I have a list of links that go to pages that have a similar layout. Could I have a text swap, similar to what I've seen with image swaps (or an image switch)...
4
7620
by: Thomas | last post by:
Hi there, I have an iframe which is editable (designMode = "on") and want to resize it dynamically as the content grows (e.g. more lines of text is in there) and there the struggle starts. I fill the iframe with content (<body> tag and so on and also insert a <div> tag, inbetween is the content that should be modified). Now if the event "overflow" or "underflow" is triggered the iframe
14
1513
by: Cartel | last post by:
Hello, I wish to modify the dimension of the font within a given table (that is, not yet in the whole page); when I hit a button, the font's size increases by 1 point; another button decreases it by 1 point (starting from the default size), and a last button will reset it to the original size. Pratically, whichever might be the default size (which I set from three css, swapped accordingly to the screen's res), the text inside that table...
9
6703
by: Jongmin Lee | last post by:
Hi Everybody, I have very simple code snippet to explain my problem. Class "Swap" is construncted in "Main" with two initial variables. Later, "Swap" class is going to swap those two variables. How to implement this Swap Class? Because C# doesn't have pointer, I can't do.
4
4100
by: Niels Dekker (no reply address) | last post by:
When calling swap as follows (as recommanded in Effective C++, 3rd Edition, by Scott Meyers), what swap is chosen to be called? using std::swap; swap(a, b); Suppose there is a global ::swap function provided, whose parameter type matches closer to the type of a and b than any of the std::swap overloads does. Will this ::swap be called, or is std::swap still preferred? I ask this because the compilers I tried disagree! So will any of...
9
6201
by: ma740988 | last post by:
Consider: # include <vector> # include <iostream> # include <cstdlib> # include <ctime> bool ispow2i ( double n ) {
5
1785
by: sabbas | last post by:
Sorry for my bad english. this is my second web work and things are a little bit difficult for me, so sorry if you not understand what i want for this two situations. First one is that I have 3 links made by 3 small images. (e.g the links are: videos, music, pics) These links upload 3 different .html pages in the same iframe depends on which link you click. What i want is when you make a click with mouse on the first link e.g.(videos) i want...
0
7772
by: tequilamala | last post by:
I have an Iframe in one of the pages i am developing... the iframe is suppose to scroll up and down and the links target the iframe. the problem is that the iframe scrolls side to side on internet explorer but not on firefox. I dont want it to scroll sideways. in index.htm the iframe is at the bottom of the code. index.htm <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">...
4
3283
by: George2 | last post by:
Hello everyone, The following swap technique is used to make assignment operator exception safe (means even if there is exception, the current object instance's state is invariant). It used a temporary object "temp" in this sample, and assignment is made on a to temp ar first. Even if there is exception, the current this object's state is not corrupted.
0
10261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10104
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...
0
8934
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
7460
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
6715
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();...
0
5354
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...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
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.