Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 6:28 p.m. on August 22, 2006

Photo framework of the focus??

The website is in a framework, in which there is a id=test leftFrame pictures, it may be a link.
I installed a button in the other frame so onClick= "parent.leftFrame.document.menu.test.focus (); "" Why could not afford, and when the test is not photographs, button when affordable.
Thank you

Photo focus??? do what is the use?

Understand what you heard is that the mouse events?

I use photographs instead of button time, I think the same can be achieved for onfocus plus a link to the right.
'Why am I not in the framework of the above requirements?

Guoshuang said in a message


I aim to achieve activated menu.

[html]
"<img Src=images/topic5.gif tabindex=1 onfocus=alert ( 'note a new topic')"
[/html]

I Foshan said in a message on


! Interesting. . .

Plus a link to the pictures will have a name attribute?

In addition, I have leftFrame
"Name="_ftn1" form" menu ""
"Input name="_ftn1"" imageField "type=" image "defended" pic/z_1.jpg "width=" 80 "height" 20 "border" 0 ""
"/form>

In a mainfrmae
A button so onClick= "parent.leftFrame.document.menu.imageField.focus (); ""
Or not, here I changed the picture to submit button ah?

OnClick= "parent.leftFrame.document.menu.test. . ParentElement.focus (); "
Photo unable to focus, can be linked

Oh, I know, take, but I was more input name="_ftn1" "imageField" type= "image" can focus?

Page left frame

[html]
"Name="_ftn1" form" menu ""
"Input name="_ftn1"" mytest "cols=" 100 ""
"Input filled="f"" test "name="_ftn1"" test "type=" image "defended" pic/z_1.jpg "width=" 80 "

Height= "20" border "0" value= "121" "
"Style='mso-footnote-id:ftn1' a" # 1 "filled="f"" myLink "" aaa</a>
"/form>
[/html]

Right side

[html]
"Input type=" button "value=" test "onclick=" parent.leftFrame.menu.test.style.backgroundColor= 'red' ""
"Input type=" button "value=" test "onclick=" parent.leftFrame.menu.mytest.style.backgroundColor= 'red' ""
"Input type=" button "value=" test "onclick=" parent.leftFrame.myLink.focus (), ""
[/html]

Photo focus of the issue is not just whether there seems ah. . .

Yes, but if form were used. The input methods were less than this visit, the ID nor direct, effective getElementById
GetElementsByName ( 'imageField') [0] can (the same name on another trip)

Myhyli said in a message


Boss! Write to ah, or no visit. . . Nien months can look at the code. . .

Page left frame
[html]
"Name="_ftn1" form" menu ""
"Input filled="f"" test "name="_ftn1"" test "type=" image "defended" pic/z_1.jpg "width=" 80 "
Height= "20" border "0" "
"/form>
[/html]
Right side
[html]
"Input type=" button "value=" test "
Onclick= "parent.leftFrame.document.getElementsByName ( 'test') [0].focus ()," "
[/html]

Will China below) [0] What does that mean?
GetElementsByName ( 'test') [0].

Array
Arrray
Said first 0




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com