Click to See Complete Forum and Search --> : Direct button link to a frame


petro
02-09-2003, 06:13 AM
Thank you but none of you have clarify my simple problem
I have the code:

<input type=button name=button value=" Home " style="font-
family: Arial; font-size: 8pt" onMouseOver=''''mOver()'''''''' onMouseDown=''''document.myForm.button.value="Bine..."'''' onClick=''''window.location="http://www.talente.ro/talente/muzica/padre/default.htm"'''' onMouseOut=''''mOut()''''>
<input type=button name=button1 value=" Talente " style="font-family: Arial; font-size: 8pt" onMouseOver=''''mOver1()'''''''' onMouseDown=''''document.myForm.button1.value="Bine..."''''

Where to insert the target=main (let's say)

and please copy and insert in my above code the right syntax with target

Is it true that hover button in Frontpage are slow ?

Zach Elfers
02-09-2003, 07:44 AM
<input type=button name=button value=" Home " style="font-
family: Arial; font-size: 8pt" onMouseOver="Over()" onMouseDown="document.myForm.button.value='Bine...'" onClick="parent.main.location.href='http://www.talente.ro/talente/muzica/padre/default.htm'" onMouseOut="mOut()">
<input type=button name=button1 value=" Talente " style="font-family: Arial; font-size: 8pt" onMouseOver="mOver1()" onMouseDown="document.myForm.button1.value='Bine...'">

Charles
02-09-2003, 08:09 AM
Petro, I'm curious though. The method demonstrated by Zach will make your page not work without JavaScript. That's clear. And we are told that 10% of users do not use JavaScript. Now, how is that better then than another method that does the same thing but that doesn't use JavaScript?

petro
02-09-2003, 10:08 AM
So please make me understand ! I am quite new in this site and I am not familiar with some graphics here; so What is the other method without java about you are telling me before ?

I intend to be viewed by as many users as is possible !
java virtual machine has to be downloaded and sometimes, maybe on slower machines part of the od hover buttons which I had inserted on www.talente.ro are not loaded.

Thank you

Charles
02-09-2003, 10:52 AM
The method I posted in the other thread makes a button that acts like a link but it uses no JavaScript. I've left a few things out for clarity and I've assumed that the frame into which you want the document to load is named 'Fred'.

<form action="http://www.talente.ro/talente/muzica/padre/default.htm" target="Fred">
<div><input type="submit" value="Home"></div>
</form>

petro
02-09-2003, 11:06 AM
Can be solved with asp also ?
I'm not PRO ASP or PRO JAVA. I am always try to understand things. I hope that I did not make anybody "cry" with this question.

Thank you

Charles
02-09-2003, 11:11 AM
You will still need a real form with an action attribute to call the asp page.