GetDotted Domains

Viewing Thread:
"Javascript"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Wed 12/10/05 at 17:07
Regular
"Lisan al-Gaib"
Posts: 7,093
What I want to do is display a
when a row is clicked and hide it when another row is clicked, displaying a
for that row (a
).

Anyone any ideas? It's driving me mental.
Wed 12/10/05 at 17:07
Regular
"Lisan al-Gaib"
Posts: 7,093
What I want to do is display a
when a row is clicked and hide it when another row is clicked, displaying a
for that row (a
).

Anyone any ideas? It's driving me mental.
Wed 12/10/05 at 17:15
Regular
"Pouch Ape"
Posts: 14,499
Do you need the exact code? I can write it, but give me a few minutes. Something like this though:

function display_menus(rowa_x, rowb_x, rowc_x, etc...)
{

if(document.layers) <<< quick check for IE
{
document.rowa.style.left = rowa_x;
document.rowb.style.left = rowb_x;
document.rowc.style.left = rowc_x;
etc...
}
else
{
can't remember the layer thing for other browsers, will look it up but it's similar!
}

}

Then, obviously:

onclick="display_menus(-500,100,-500,etc.)"

for whatever you want clicked.

You have to have the distance from top set in the style or whatever, and it basically swaps out the distance from left for each layer.
Wed 12/10/05 at 17:17
Regular
"l33t cs50r"
Posts: 2,956
Did this sometime back:

http://www.endeavourchem.co.uk/rci/AgentsDistributors.asp

Doesn;t auto close though. Should be enough though to get you sorted.
Wed 12/10/05 at 17:24
Regular
"Pouch Ape"
Posts: 14,499
Gah, I was thinking he meant like menu layers, like your page but the upper menu, not the expand/unexpand thing below.

Does inner.HTML work in Firefox? I stopped using it because Netscape never supported it, but it's really useful.
Wed 12/10/05 at 17:31
Regular
"Lisan al-Gaib"
Posts: 7,093
Tyla wrote:
> Did this sometime back:
>
> http://www.endeavourchem.co.uk/rci/AgentsDistributors.asp
>
> Doesn;t auto close though. Should be enough though to get you sorted.

Bong! Cheers, exactly what I'm looking for. Cheers MM too.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Very pleased
Very pleased with the help given by your staff. They explained technical details in an easy way and were patient when providing information to a non expert like me.
Second to none...
So far the services you provide are second to none. Keep up the good work.
Andy

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.