Loading ...
Sorry, an error occurred while loading the content.

Re: Button and Sound Logic - Help Please

Expand Messages
  • peterbyers1@btinternet.com
    Thank you Francis
    Message 1 of 4 , Dec 5, 2009
    • 0 Attachment
      Thank you Francis

      --- In svg-developers@yahoogroups.com, "Francis Hemsher" <fhemsher@...> wrote:
      >
      > Hi Peter,
      >
      > try:
      >
      > <g id="earStopButton" visibility="hidden">
      > <a xlink:href="" onmouseover="hideStopEar()">
      > <rect x="250" y="1" width="50" height="70" rx="5" ry="5" style="stroke: black; fill: #cccccc;"/>
      > <image xlink:href="ear.jpg" x="251" y="2" width="48" height="68"/>
      > <line x1="251" y1="2" x2="299" y2="69" fill="red" stroke="red" stroke-width="5"/>
      > </a>
      > </g>
      >
      > function hideStopEar()
      > {
      > var stopEar=svgDocument.getElementById( "earStopButton" )
      > stopEar.setAttribute("visibility","hidden")
      >
      > }
      >
      > Regards,
      > Francis
      >
      >
      >
      > --- In svg-developers@yahoogroups.com, "peterbyers1@" <nospam@> wrote:
      > >
      > >
      > >
      > > --- In svg-developers@yahoogroups.com, "peterbyers1@" <nospam@> wrote:
      > > >
      > > > Help Please
      > > >
      > > > I am a "Sortof Newbe SVG Scripter" i managed to cobble together a script.
      > > >
      > > > It is not pretty but it nearly does what I want it to do !!
      > > >
      > > > It can be seen at
      > > > http://www.byershostingpeter.co.uk/demo/helpplease.svg
      > > >
      > > >
      > > > When I click on the "Ear Button" - sound starts and the "Stop sound button" appears.
      > > >
      > > >
      > > > On 'mouse over', it stops the sound.
      > > >
      > > >
      > > > BUT
      > > >
      > > > I want the "Stop sound button" made invisible.
      > > >
      > > >
      > > > I have played for hours and cannot do it - please show me how !!
      > > >
      > > > Thanks
      > > > Pete (Northolt UK)
      > > >
      > >
      > >
      > > Sorry - should have said that it only seems to work in Internet Explorer with Adobe AddOn installed
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.