472,992 Members | 3,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Swap and iframe probs

7
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 1910
acoder
16,027 Expert Mod 8TB
Post your code or a link.
Mar 29 '07 #2
sabbas
7
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"><table width="224" height="298" border="0" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"><table width="100" height="309" border="0" align="left" cellpadding="0" cellspacing="12">
<tr>
<th width="175" scope="col"><img 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="locations" alt="">
</map></th>
</tr>
<tr>
<th scope="row"><img 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.html" target="locations">
</map> </th>
</tr>
<tr>
<th scope="row"><img 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"><img src="buttons/location5.gif" width="122" height="21" border="0" usemap="#Map13"></th>
</tr>
<tr>
<th scope="row"><img src="buttons/location6.gif" width="122" height="21" border="0" usemap="#Map15"></th>
</tr>
<tr>
<th scope="row"><img src="buttons/location7.gif" width="122" height="21" border="0" usemap="#Map16"></th>
</tr>
<tr>
<th scope="row"><img src="buttons/location8.gif" width="122" height="21" border="0" usemap="#Map14"></th>
</tr>
<tr>
<th scope="row"><img 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="mainlocation.html" name="locations" width="366" marginwidth="0" height="459" marginheight="0" scrolling="no" frameborder="0" allowtransparency="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
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...
4
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...
14
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...
9
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...
4
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...
9
by: ma740988 | last post by:
Consider: # include <vector> # include <iostream> # include <cstdlib> # include <ctime> bool ispow2i ( double n ) {
5
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...
0
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...
4
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...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.