Help - Search - Members - Calendar
Full Version: shape onclick=href=xxx.html?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Kristijan1392
<shape onclick="href="xxx.html"">
<appearance>
<Material id="Kamera"
diffuseColor="#0A0A2A"
specularColor="#0A0A2A"
emissiveColor="#0A0A2A"
ambientIntensity="0.1"
shininess="0.202"
transparency="0.01"
/>
</appearance>
<indexedFaceSet coordIndex='2 0 4 6 -1 7 5 1 3 -1 2 6 7 3 -1 0 2 3 1 -1 4 0 1 5 -1 6 4 5 7 -1'>
<coordinate USE='coords_ME_Cylinder'></coordinate>
</indexedFaceSet>
</shape>
pandy
With what? What is that? X3DOM?
Kristijan1392
yes,i need to acees my ip camera by clicking on shape of a camera in x3doom
Kristijan1392
it is x3d converted to html,whole code is too long..
pandy
Converted to HTML? Sorry, don't know the first thing about X3DOM. Maybe somone else? If so, it probably helps if you post all of it and tell them what the problem is.
Kristijan1392
My code works,but i want to insert href=mylink.html in shape,because i want to go to my camera when i click on that shape,and i dont know how to do that,i would be thankful if somebody can help me i guess that i need to use onclick and after that href=mylink.html,i tryed everything,it just doesnt work :/
CharlesEF
Why not try: onclick="window.open('http://xxx.html','_blank');"
Or, if you don't want to open a new window you can try: onclick="window.location.href='xxx.html';"
Kristijan1392
Thank you very very much!! biggrin.gif
CharlesEF
Glad it worked out for you.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.