I think should be something like this

<rect id="rm123" onclick="parent.openrmdetail('rm123')"/>

where rm123 is the room code and openrmdetail is the javascript 
function in the html that holds the svg file, that receive the room 
id and open corresponding html page in another frame.

Hope this can help


--- In svg-developers@yahoogroups.com, "musicmancanora" 
<[EMAIL PROTECTED]> wrote:
> Hey guys i need to be able to click on an svg rectangle and then 
make 
> it interact with a html text area or something.
> 
> So for example if i clicked on a rectangle representing a bedroom 
> which you need to book for a hotel. Once you click on the bedroom 
svg 
> rectangle i need it to display some html of that particular room.
> 
> Like 
> 
> Whether it has a double bed
> Whether it has kitchen facilities etc
> 
> 
> and then if i click on a different room it has to produce different 
> details about that room in html format.
> 
> I know i have to use java script and svg but have no idea how to do 
> it someone help me please....
> 
> i have no idea
> 
> thnks




-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to