On 7/24/06, csorba_edith <[EMAIL PROTECTED]> wrote: > > Hi, Andreas > I checked the SVG window link at carto.net, and I have just one small > question. I want my windows to be invisible first time the page loads, > and to open them only when I click an object. I checked the script but > I was unable to define which part defines the window to be initially > visible. How is it possible to make them invisible in the beginning? > Thank you very much. > Cheers, > Csorba >
Just make a <rect> with the fill opacity and stroke opacity equal to 0.0 to make a "fake" inisible at first hand.I think? ? ? Phi --- In svg-developers@yahoogroups.com <svg-developers%40yahoogroups.com>, > "Andreas Neumann" <[EMAIL PROTECTED]> > wrote: > > > > Hi Edith, > > > > I strongly recommend not to use popup windows. It will probably fail > in 90% or more of > > the browsers out there since all of the modern browsers have popup > blockers. Yes, even > > Internet Explorer has popup blockers nowadays. > > > > I'd recommend two other alternatives: > > > > * use links (<a></a> tag) in combination with the target attribute > to open a new window > > * use SVG windows (see http://www.carto.net/papers/svg/gui/Window/ > and http:// > > www.carto.net/papers/svg/gui/Window/index.svg) > > > > The latter might not be an option if you want to display HTML, but > it works fine for SVG > > content. If your window only contains a smaller amount of > information it might be better > > to encode it in SVG and use SVG widgets/windows. > > > > Andreas > > > > > > --- In svg-developers@yahoogroups.com <svg-developers%40yahoogroups.com>, > "csorba_edith" > <csorba_edith@> wrote: > > > > > > Hi, > > > I have a question about using the > > > open.window command in a function within SVG. I.e. > > > > > > function infoDisplay(evt) { > > > var popup = window.open > > > ("toolbox.htm", "thepop", "width=400,height=300,top=200,left=200,dire > > > ctories=no,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no > > > ,resizable=yes"); > > > } > > > > > > I want to open a new window (with the preset attributes) when I > > > click on a feature in my SVG map, but because of some reason it > > > ignores this function. Is it possible to use this structure in SVG? > > > Thanks. > > > Csorba Edith > > > P.S. Thanks for the help around the .js files. The problem was with > > > the server - it did not see them, so I had to move them to another > > > folder and use absolute paths within my code, and to set appropriate > > > permissions for them. > > > > > > > > -- Phi - Tran Hugely increase your speed, saving your band-width with ZipProtocol plus crystal clear SVG Rendering image at HTTP://oneplusplus.com [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- 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/