Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Seedseeker #1
can javascript work correctly in spry:when?
why the window.open("http://www.ibm.com/"); is alway running even the address
is not equal to 'ibm'
<div spry:choose="spry:choose">
<div spry:when="'{address}' == 'ibm">IBM
<script language="JavaScript">
window.open("http://www.ibm.com/");
</script>
</div>
<div class="text09" spry:default="spry:default"></div>
</div>
Seedseeker Guest
-
spry menubar does not work in IE
I made a spry menubar to my website using dreamweaver cs3 on mac. Everything works fine with Opera, Firefox and Safari, but the menubar won't show... -
Spry Submenu Doesn't Work Properly in IE7
The page in question is at http://www.mayland.edu/test/index.html . I am at my wits end at solving a submenu drop-down problem in IE7. I used the... -
Spry Menu Bar Horizontal not viewing in IE correctly
Can someone please help me understand why this is not viewing in IE correctly. @charset 'UTF-8'; /* SpryMenuBarHorizontal.css - version 0.6 - Spry... -
Microphone rate capture doesn't work correctly on MAC
Hi everyone, We have a sound issue with Mac users that use our videoconference app. Here's the problem: publisher of stream(audio+video or... -
Flash loads, but doesn't work correctly. Linux
All, I have loaded Flash 7, or whatever the latest is for Linux. When I go to sites like youtube.com or anything like that that uses flash. The... -
danilocelic AdobeCommunityExpert #2
Re: can javascript work correctly in spry:when?
Seedseeker wrote:
Remember that the code is on the page and all Spry will be doing is to hide the non-choosen item. So for your code the script tag is still on the page and therefore the browser runs the contained script, in this case opening the window.> why the window.open("http://www.ibm.com/"); is alway running even the address
> is not equal to 'ibm'
>
> <div spry:choose="spry:choose">
> <div spry:when="'{address}' == 'ibm">IBM
> <script language="JavaScript">
> window.open("http://www.ibm.com/");
> </script>
> </div>
> <div class="text09" spry:default="spry:default"></div>
> </div>
I've not delved into this part of Spry, but you should ask your question in the Spry forums:
[url]http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602[/url]
--
Danilo Celic
| Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
| Adobe Community Expert
danilocelic AdobeCommunityExpert Guest



Reply With Quote

