Spry effects not recognizing classes

When adding a spry effect to an <img> element, it will pick up on ID's but not classes.
<style>
img.color {color:#fffff}
</style>
<body>
<img src="image.jpg" class="img.color" img />
</body>
In the spry effect dialogue, it will let me select the current img tag, but if i were to specify a second class
<style>
img.color {color:#fffff}
img.opacity {opacity:50}
</style>
<body>
<img src="image.jpg" class="img.color img.opacity" img />
</body>
then it wouldnt work because it can only recognize the current selection instead of the individual styles like i can do with an ID (which wont work for multiple styles as there can be only one id per element).

It makes it very hard for us to know what you are trying to achieve without seeing some code hence I shall give you some code to work with
<!DOCTYPE html>
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<img src="header.jpg" onClick="MM_effectAppearFade(this, 1000, 100, 0, false)">
<script src="SpryAssets/SpryEffects.js"></script>
<script>
    function MM_effectAppearFade(targetElement, duration, from, to, toggle)
        {Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});}
</script>
</body>
</html>
Just copy and paste the above code into a new document, make sure that you do have SpryEffects.js in the SpryAssets folder and try it out.
Gramps

Similar Messages

  • After Effects not recognizing Red Rocket?

    Hi everyone,
    I'm having serious troubles with a Red Rocket in AE CS6.  Nothing I have done will get AE to recognize the rocket.  Premiere seems to recognize it and use it just fine. 
    The card is clearly installed correctly; it works in Red Cine X and Premiere, giving realtime performance with 4k footage @ 29.97 fps, with minimal processor load (~7%).  If I force AE to try to use the card with Interpret Footage > Main > More Options... > Use Rocket, the system slows to a crawl and fails to perform at all.  (It may take 10-30 seconds to update when the cursor is moved in the timeline.)
    It does not appear to be simply that the red rocket card is not being released by another program -- at least, when I restart the system and open After Effects first, the symptoms are identical.
    The rocket is on the latest firmware -- 1.4.27, I believe.  I have done everything possible to confirm that the card is not the problem, including opening a support ticket with Red and sending the physical unit back to them for testing.
    I have tried replacing the ImporterREDServer.exe and ImporterRED.prm with the Adobe Labs version from May/June 2012, that appears to have no effect.
    I'm running Windows 7 on a dual 8-core Xeon system with 128 GB of RAM.  There are also two GTX 680 graphics cards, one on each processor bus, installed in the system.  I'm running the latest, updated versions of Creative Suite CS6, and there is no antivirus or firewall installed or running.
    Thoughts?  Directions?  Things to test?  Or should I junk the card or the workflow?  I'm pretty committed to Adobe After Effects at the moment, though this experience has me strongly considering Smoke, Nuke, or something else for the future (the switching costs are high).
    Thanks all,
    -Ryan

    In case anyone else ends up here:
    It appears the best performance I can get in AE CS6 is about 6 fps at full quality.  I think this qualifies as 'working' -- it's only 4 fps when I'm not using the card, and processor load is higher.  At least it's stable now. 
    The fix was: reinstalling AE, reinstalling all Nvidia drivers, and shuffling the cards into different PCI slots.  Not sure which made a difference.  Also, moderating my expectations about what a red rocket could do in AE -- I've read that recent machines only see a performance gain while rendering, and everyone is turning them off during compositing work.

  • Audacity effects not recognized by iTunes?

    I imported some CD music into iTunes, and opened up the music into Audacity. So far so good. I did some editing of the music, including some fade-ins and fade-outs. But when I play back the finished product through iTunes, the fading effects do not work! The music is still heard, but the fade effects are not. I went back and checked the file in Audacity, and it's fine--when I play it through Audacity, the fades are there.
    All the other editing (cutting and pasting) works fine. Can anyone help? Thanks.

    *When I made the edits, I saved the new files to my desktop.*
    And then you added this version to iTunes, yes?
    You should have at least 2 versions of the song in iTunes. The original plus the edited.
    Works here.
    Open a song with Audacity.
    Edit it and save it.
    Add it to iTunes.
    Select the edited version, not the original, and it plays the edits just fine.
    Since I was only testing, I delete the edited version from iTunes and the original stays.

  • Photoshop Layer Effects not recognized

    Since it's so easy in photoshop to apply a layer effect, shadow, lighting, etc, i thought we could get it while creating a button, but i had no success.
    Do we really have to flatten the effects of the photoshop file ?

    Hi,
    Photoshop files with layer effects should work fine in Muse, do you mind sending the .psd file you're having trouble with to [email protected] so I can take a look? Please also include a link to this thread.
    Colby

  • XP Pro is not recognizing class files

    When I write a program that calls on a class file in the same folder and compile it, the XP prompt says it cant find the file. Also I cant get to my F drive (zip 250)? Help please

    The title of the post leads me to assume he is using
    Windows XP Professional.heh, heh :-) I was trying to work and do java forums at the same time!

  • Spry.Effect ERR: Element "undefined" not found

    http://demiurgical.fluctuation.net/development/test.html
    Hi guys,
    I used Spry Data, Tabbed Panels, and the very helpfull Tabbed
    Panels Extension that Kin provided. It works fine on both Firefox
    and IE, however, IE6 gives me an alert box of "Spry.Effect ERR:
    Element "undefined" not found 4 times but still working.
    How can I get rid of this?
    Thank you again,
    John

    Looking at Retrospective's code in test.html, I see that the
    error is due to the fact he had a script block in his region:
    <script type="text/javascript">
    <!--//
    var testtab = new Spry.Widget.TabbedPanels("testtab", {
    interval: 3000 });
    testtab.start();
    //-->
    </script>
    That executes immediately when the page is loaded, even
    before the region is processed. To get rid of the problem, all that
    has to be done is remove the script block and move its code into a
    region observer so that it gets exectued any time the region markup
    is re-generated. Here's how it should look:
    <html>
    <head>
    <script src="SpryTabbedPanels.js"
    type="text/javascript"></script>
    <script src="SpryTabbedPanelsExtensions.js"
    type="text/javascript"></script>
    <script src="xpath.js"
    type="text/javascript"></script>
    <script src="SpryData.js"
    type="text/javascript"></script>
    <script src="SpryEffects.js"
    type="text/javascript"></script>
    <link href="SpryTabbedPanels.css" rel="stylesheet"
    type="text/css" />
    <script type="text/javascript">
    <!--//
    var dsTest = new Spry.Data.XMLDataSet("test.xml",
    "Test/TestOne");
    dsTest.setColumnType("name", "html");
    Spry.Data.Region.addObserver("FeatureBoxHome", {
    onPostUpdate: function()
    var testtab = new Spry.Widget.TabbedPanels("testtab", {
    interval: 3000 });
    testtab.start();
    //-->
    </script>
    <title>Test</title>
    </head>
    <body bgcolor="#FFFFFF">
    <div id="FeatureBoxHome" spry:region="dsTest">
    <div id="testtab" class="TabbedPanels">
    <ul class="TabbedPanelsTabGroup">
    <li spry:repeat="dsTest" class="TabbedPanelsTab"
    tabindex="0">{name}</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
    <div spry:repeat="dsTest" class="TabbedPanelsContent"
    style="display: block;"> <a
    href="{feature_url}">{title}</a> <img src="{photo}">
    </div>
    </div>
    </div>
    </div>
    </body>
    </html>
    --== Kin ==--

  • My Image CLASS MF4350d printer is not recognized by windows 8-64 bit

    My Image CLASS MF4350d printer is not recognized by windows 8-64 bit any help how can i fix the problem. I just bought new HP computer from Future shop and it came with Windows in it. but this windows8 doesnt have drivers for my printer Image Class MF 4350d. Now I hve no clue how can i fix this isue. Because I checked on Canon website for drivers and downloaded and run the drivers, but no solution for my printer at all.

    Yes. I have the latest version intalled but this hasnt helped.
    I thought it could be to do with the Shuffle not having enough of a battery charge.
    So i plugged it into the wall charger and then tried this didnt work either.
    It wont even play music for some reason. The only information I get in the earpiece when I turn it on is what the battery level is at.

  • Compiler is not recognizing MDM jar classes

    hi Experts,
                      I am trying to cretae  a java wrapper on top of MDM using Java API's. I created a simple java program and i was able to access the MDM repository. But when I created a Java DC I am getting the build errors in the same code.
    the steps I followed.
    1) added all the five jars in the java build path.
    2) cretaed a classpath variable which points to the location of the jar files in (window->preferences->java->classpathvariables)
    3) wrote a program which uses the classes mentiond in the jar files (without compilation errors)
    Now I build the program and build gets failed.
    The errors shown are
    package com.sap.mdm.data does not exist
    package com.sap.mdm.extension does not exist
    i.e whatever packages I have used in the programs are not recognized by the java compiler.
    Best Regards
    Pramod

    hi,
         I got the solution for above problem.
    DC's doesn't recognize added jars in the java build path. You have to add them in the external library and than expose these jars to the other DC by adding them in the public part of the external library DC.
    Enjoy.

  • Effects not appearing in Dreamweaver Spry menu

    Hi Folks,
    I've installed the Spry updater in Dreamweaver CS3 then used
    it to update the Spry assets. I selected all assets, including
    effects. All were updated (some added for the first time) except
    for effects. It does not appear in the Spry menu at all. Does
    anybody know why effects might not be available on the Spry menu in
    Dreamweaver even after being selected for update?

    quote:
    Originally posted by:
    Donald Booth
    Spry Effects are found in the Behaviors panel, in the Effects
    category.
    They are not in the Insert Panel because they aren't
    'objects'.
    I know it's hard to discover and rest assured we argued about
    it a bit.
    Hope this helps.
    Don
    Ah ha! That's it. (I can see why they belong there, of
    course, but I sure didn't think to look there.
    In case any other newbies are in the same boat, you not only
    have to select Windows/Behaviors, which will bring up the Behavior
    panel, you then need to select an element (like a div) to which you
    want to apply the effect, click on the plus sign in the behaviors
    panel, then select Effects from the list.
    Thanks for the help, Don.

  • My iPod classis is not recognized by my Macbook and self-ejects immediately after being plugged in?

    Hello,
    I have an iPod classic and I am using a Macbook Pro running Mavericks. Since the last iTunes update i have not been able to connect my iPod to iTunes. I have tried both USB ports and it still won't work. The iPod ejects itself immediately after being plugged in. The usb ports are working, I've tried an iPod touch and an iPhone 4s, so that doesn't seem to be the issue either. Appreciate any help!

    Hi luisxjim,
    Thanks for using Apple Support Communities.  This article has some steps that may help if your iPod classic isn't being recognized by your computer:
    iPod not recognized in iTunes and Mac desktop
    http://support.apple.com/kb/TS1410
    Cheers,
    - Ari

  • Grow & shrink effect not working

    Hello all, my issue is I cannot get the grow effect to work. I am a newbie so I have been watching tutorials. The link to my site shows a bouquet in the center of the page that I was using as a test for the grow effect. The 2 bouquet images on the right of the page is also set to grow bout I dont know if it can grow to the left. Anyway, I just cant get anything to work. All the pictures just appear in full size.
    I have the behavior set to grow, from 0% to 100% on click. Here is the link. http://www.stevenleespage.com/bouquets.html
    Here is the code. Thanks for the help and I hope I posted in the correct location. I'm not sure if this is where I am supposed to post problems.
    Thanks again,
    Steve
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- DW6 -->
    <head>
    <!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
    <title>Ricos - Bouquets</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link rel="stylesheet" href="mm_spa.css" type="text/css" />
    <style type="text/css">
    <!--
    .style6 {color: #FFFF00}
    .style7 {font-family: "Bodoni MT"}
    .style8 {
        color: #FFFFFF;
        font-size: 16px;
    .style13 {font-size: 16px}
    .style14 {color: #FFFFFF}
    .style15 {color: #FFFFFF; font-family: Arial;}
    .style16 {color: #FF9900}
    -->
    </style>
    <script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_effectGrowShrink(targetElement, duration, from, to, toggle, referHeight, growFromCenter)
        Spry.Effect.DoGrow(targetElement, {duration: duration, from: from, to: to, toggle: toggle, referHeight: referHeight, growCenter: growFromCenter});
    </script>
    </head>
    <body bgcolor="#0000" background=>
    <table width="1115" height="752" border="0" cellpadding="0" cellspacing="0" bordercolor="#00FF00">
      <tr bgcolor="#220103">
       <td height="150" colspan="6" nowrap="nowrap" bgcolor="#522449"><img src="Images/Ricos/fuchsia-background_800x600.jpg" alt="title" width="1108" height="150" /></td>
      </tr>
    <tr bgcolor="#FF9900">
         <td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
    </tr>
    <tr bgcolor="#FF080E">
         <td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>
    </tr>
    <tr bgcolor="#FF9900">
         <td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
    </tr>
    <tr bgcolor="#FF080E">
         <td colspan="6" bgcolor="#9900FF"><img src="mm_spacer.gif" alt="" width="1" height="18" border="0" /></td>
    </tr>
    <tr bgcolor="#FF9900">
         <td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
    </tr>
    <tr bgcolor="#FF080E">
         <td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="2" border="0" /></td>
    </tr>
    <tr bgcolor="#FF9900">
         <td colspan="6"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
    </tr>
    <tr>
        <td width="221" height="557" valign="top" id="navborder"><br />
        <table border="0" cellspacing="0" cellpadding="0" width="220" id="navigation">
            <tr>
              <td width="220"><a href="ricos.html" class="navText">HOME </a></td>
            </tr>
            <tr>
              <td width="220"><a href="http://www.yellowpages.com/santa-rosa-ca/mip/pricess-botique-3411701/m ap?lid=3411701" target="_blank" class="navText">MAP &amp; DIRECTIONS  </a></td>
            </tr>
            <tr>
              <td width="220"><a href="wedding.html" class="navText">WEDDING APPAREL  </a></td>
            </tr>
            <tr>
              <td width="220"><a href="prom.html" class="navText">PROM APPAREL  </a></td>
            </tr>
            <tr>
              <td width="220"><a href="1stcommunion.html" class="navText">1ST COMMUNION APPAREL  </a></td>
            </tr>
            <tr>
              <td width="220"><a href="baptism.html" class="navText">BAPTISM APPAREL </a></td>
            </tr>
            <tr>
              <td><a href="javascript:;" class="navText">BOUQUETS </a></td>
            </tr>
            <tr>
              <td><a href="decorations.html" class="navText  style6 style7">DECORATIONS </a></td>
            </tr>
            <tr>
              <td><a href="centerpieces.html" class="navText">CENTER PIECES </a></td>
            </tr>
            <tr>
              <td><a href="jewelry.html" class="navText">JEWELRY</a></td>
            </tr>
            <tr>
              <td><a href="contact.html" class="navText  style6 style7">GALLERY</a></td>
            </tr>
            <tr>
              <td><a href="contact.html" class="navText  style6 style7">CONTACT</a></td>
            </tr>
        </table>     </td>
        <td width="25"><img src="mm_spacer.gif" alt="" width="25" height="1" border="0" /></td>
        <td width="617" align="left" valign="top"><img src="mm_spacer.gif" alt="" width="305" height="1" border="0" /><br />
         <br />
        <table border="0" cellspacing="0" cellpadding="0" width="459">
          <tr>
            <td width="459" class="pageName style16">Beautiful Bouquets </td>
          </tr>
        </table>
        <p class="style13">All of our bouquets are custom hand crafted for any occasion. </p>
        <p class="style13">Please contact us for color and design. <a href="contact.html">CONTACT</a> or visit our store. </p>
        <table width="614" height="420" border="0" align="left" cellpadding="1">
          <tr>
            <td width="600" height="411" align="left" valign="top"><div align="left"><img src="Images/Ricos/bouquet2.jpg" width="600" height="415" onclick="MM_effectGrowShrink(this, 1000, '0%', '100%', true, false, false)" /></div></td>
          </tr>
        </table>    </td>
        <td width="6"><img src="mm_spacer.gif" alt="" width="5" height="1" border="0" /></td>
        <td width="241" valign="top"><div align="left">
          <table width="230" height="221" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
            <tr>
              <td height="18" colspan="3" align="center" class="columnHeader"> </td>
              </tr>
            <tr>
              <td width="5"> </td>
                <td width="200" height="150" class="smallText"><p align="left"> </p>
               <br />          </td>
                <td width="5"><img src="mm_spacer.gif" alt="" width="5" height="1" border="0" /></td>
              </tr>
          </table>
          <table width="230" height="234" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
            <tr>
              <td height="50" colspan="3" align="center" class="columnHeader"><span class="smallText"><img src="Images/Ricos/whtbouquet2.jpg" width="400" height="303" onclick="MM_effectGrowShrink(this, 1000, '0%', '100%', false, false, true)" /></span></td>
              </tr>
            <tr>
              <td width="5"> </td>
                <td width="200" height="150" class="smallText"><p align="left"><img src="Images/Ricos/purpbouquet.jpg" width="400" height="300" onclick="MM_effectGrowShrink(this, 1000, '0%', '100%', false, false, true)" /></p>
                 <br />            </td>
                <td width="5"><img src="mm_spacer.gif" alt="bouquets" width="5" height="1" border="0" /></td>
              </tr>
          </table>
        </div></td>
        <td width="5" align="left"> </td>
      </tr>
      <tr>
        <td width="221" height="19"> </td>
        <td width="25"> </td>
        <td width="617"><div align="center"><a href="index.html">web design by Steven Lee </a></div></td>
        <td width="6"> </td>
        <td width="241"> </td>
        <td width="5"> </td>
      </tr>
    </table>
    </body>
    </html>

    I wasn't so sure that I posted in the correct location. Sorry for that. I new to forums and don't know my way around. 
    I didnt even know of a Spry assets folder. I thought Dreamweaver took care of that. The video tutorials didn't talk about that and it looked to simple.
    I will check out the other thread and if thats ok can I ask you for any additional questions?
    Thanks for your time.
    Steve

  • OnError event passed to Observer in Spry.Effect in IE

    Hi ,
    I have this issue that I have already spent 2 days on it and desperately need help from experts here.
    I have two data sources ds3 and ds4 (div id="news"). (master detail regions). On click on ds3 row I fire a javascript function "fadeOutContent(rowID,rowNum)". Code is given below:
    <script>
    var gEffectInProgress = null;
    var gPendingSetRowIDRequest = -1;
    function fadeInContent(notificationType, notifier, data)
       alert(" notificationType " + notificationType);
        if (notificationType != "onPostUpdate")
            return;
        var effect = new Spry.Effect.Fade('news', { to: 100, from: 0, duration: 2000, finish: function() {
            // The region is now showing. Process any pending row change request.
            gEffectInProgress = null;
            if (gPendingSetRowIDRequest >= 0)
                alert(" see if this causes the error");
                var id = gPendingSetRowIDRequest;
                gPendingSetRowIDRequest = -1;
                fadeOutContent(id);
        alert("starting the effect ");
        effect.start();
    Spry.Data.Region.addObserver('news', fadeInContent);
    function fadeOutContent(rowID,rowNum)
        // If we have an effect already in progress, don't do anything
        // We'll set the rowID when we're done.
        alert(" gEffectInProgress " + gEffectInProgress);
        if (gEffectInProgress)
            gPendingSetRowIDRequest = rowID;
            return;
        // If the correct row is already showing, don't do anything!
        if (rowNum == ds3.getCurrentRowNumber())
            return;
        gEffectInProgress = new Spry.Effect.Fade('news', { to: 0, from: 100, duration: 2000,finish: function() {
            ds3.setCurrentRow(rowID);
            alert("Currne tRow updated in ds3" + rowID);
        gEffectInProgress.start();
    </script>
    Div  for spry regions are as below:
                        <div class="rows" spry:region="ds3">
                            <div class="rowOdd" spry:repeat="ds3" spry:odd="rowOdd" spry:even="rowEven" spry:hover="mouseOver" spry:select="selected">
                            <div  onclick="fadeOutContent('{ds_RowID}','{ds_RowNumber}');">{NewsLine}</div>
                            </div>
                        </div>
                        <div id="news" spry:region="ds4" style="margin-top:20px">
                                    <p>{NewsPage}</p>
                        </div>
    PROBLEM:
    On first row everything works fine. On clicking on second row function fadeOutContent line  ds3.setCurrentRow(rowID); causes on onError event passed to Observer, as a result fadeInContent function returns without doing any Fading.
    Please help with any information that can provide possible solution to this.
    ALL WORKS WELL IN FF. P.S. My site is on localhost. So can not share a link.
    Thanks

    Sorry, I am working on localhost so far.

  • Plugin not recognized Windows 98

    I'm cross posting....
    http://forum.java.sun.com/thread.jsp?forum=30&thread=462127&tstart=0&trange=15
    Originally in Java Plugin - posted for four days, no replies. I'd like to get this working....Help is appreciated...
    The jre 1.3.1_04 Plugin is not recognized by browsers Internet Explorer 4.0 and Mozilla 0.7 on a Windows 98 first edition (Java thinks this is Windows 95 - ?) machine. Using the applet tag in my web page.
    I've installed a jre exe file that I downloaded from another computer. But the Internet Explorer browser still uses the MSJVM to load the applet. I see in the registry that class id - 8AD... does refer to the jre 1.3.1_04.
    I've not had trouble on Windows 2000. How do I enable the browser use the Sun Plugin, not MS JVM on Windows 98?
    I've researched the "enable browser" section of the sun java site, and followed all of the instructions there.
    http://java.com/en/download/help/enable_browser.jsp
    I've checked the troubleshooting section of the download for jre 1.3.1, nothing there helps me...
    http://java.sun.com/j2se/1.3/install-windows.html#troubleshooting
    Thanks in advance.

    Thank you so much for your response.
    I was just thinking about what a goon I am for cross posting. It is frowned upon in the forums (as it should be, and I should know better) and I was wondering if that is why no one would respond.
    Yes I see that "Microsoft Internet Explorer" is listed in the Browser tab of the Plugin Control Panel. And I see that it is checked. I have restarted both the Browser and the computer several times since install but to no avail. I still see the MS JVM console in Internet Explorer.
    Mozilla is not listed in the Plugin Control Panel, though I wouldn't expect it to be.
    I remember reading somewhere that Windows 95 was not supported by the JRE but I think that referred to 1.4.2 specifically. I'm not sure if Sun stopped all support for Win 95. And though I have Windows 98 first edition, the effect of System.getProperty(os.name) shows "Windows 95". So this just may be lack of support for my OS system in general, but I don't know.
    Thanks again for your post.

  • Spry effect Appear/Fade don't toggle

    Ok.
    I have applied a simple, basic, no more basic then this
    cannot be possible, Appear/Fade using the effects behaviors menu in
    DW.
    I have turn on the Toggle option and I said: "appear from 0
    to 100".
    Well the result is this:
    http://www.cantinho.org/admin/cantinho/showhide.php
    Note: I can make a CSS to make the element disapear at the
    beginning, but why should I need that if I have configured to show
    from 0 to 100% ?
    What I'm missing here?
    Thanks.

    I have been having a similar problem, and I thought your fix
    might help my problem, but after downloading and running it, I'm
    still getting the same thing. I'm trying to use effectAppearFade to
    make a target link appear when another link is clicked. In order
    for it to appear, I evidently need to not hide it in CSS Styles,
    but then when the page first opens, the target link is visible. I
    can almost make it work by fading it from 100 to 0 in an onload
    operation on the body of the page. The appear logic then works fine
    and even toggles okay if I turn that on, but, when the page first
    loads, the link that I'm hiding flashes briefly before it
    disappears. I've also tried using changeProp in the body's onload
    code to hide the target link, but it seems that whatever I have set
    the property to in CSS Styles overrides whatever I do in the
    onload. I've also tried controlling its visibility with the display
    property with the same result. So far, I haven't found a way to
    hide the target link before the page has loaded and then fade it to
    0 before making it visible or in any other way to start the target
    link hidden and have it appear when I click the link with the
    AppearFade effect for it. Do you know what I'm doing wrong?
    Thanks for any help you can give me.
    Here's the code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Home</title>
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Times New Roman, Times, serif;
    color: #000099;
    visibility: inherit;
    body {
    background-color: #CCCC99;
    a:link {
    color: #000099;
    text-decoration: none;
    a:visited {
    color: #000099;
    text-decoration: none;
    .style1 {
    font-size: xx-large;
    font-style: italic;
    font-weight: bold;
    a:hover {
    text-decoration: none;
    a:active {
    text-decoration: none;
    visibility: inherit;
    .style4 {font-style: italic; font-size: xx-large;}
    .style5 {
    font-size: 16px;
    font-weight: bold;
    visibility: visible;
    display: block;
    -->
    </style>
    <script src="SpryAssets/SpryEffects.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    function MM_popupMsg(msg) { //v1.0
    alert(msg);
    function MM_effectAppearFade(targetElement, duration, from,
    to, toggle)
    Spry.Effect.DoFade(targetElement, {duration: duration, from:
    from, to: to, toggle: toggle});
    function MM_showHideLayers() { //v9.0
    var i,p,v,obj,args=MM_showHideLayers.arguments;
    for (i=0; i<(args.length-2); i+=3)
    with (document) if (getElementById &&
    ((obj=getElementById(args
    ))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style;
    v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
    function MM_changeProp(objId,x,theProp,theValue) { //v9.0
    var obj = null; with (document){ if (getElementById)
    obj = getElementById(objId); }
    if (obj){
    if (theValue == true || theValue == false)
    eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
    //-->
    </script>
    </head>
    <body
    onload="/*MM_changeProp('#ArtLinks','','visibility','hidden','DIV');*/
    MM_effectAppearFade('#ArtLinks', 0, 100, 0, false)/*;
    MM_changeProp('#ArtLinks','','visibility','visible','DIV')*/">
    <div>
    <table width="100%" height="477" border="0"
    cellpadding="0" cellspacing="0">
    <tr>
    <td width="22%" valign="top"> </td>
    <td width="56%" valign="top"><p align="center"
    class="style1"> </p>
    <p align="center" class="style1"><a
    href="TechnologyMainFrame.html" title="Technology" class="style1"
    accesskey="t">The Promise of
    <u>T</u>echnology</a></p>
    <p align="center" class="style1">and</p>
    <p align="center"><strong><span
    class="style4"><a href="javascript:;" title="Art"
    class="style4" accesskey="a"
    onclick="MM_effectAppearFade('#ArtLinks', 1000, 0, 100,
    true)">The <u>A</u>rt of Life</a></span>
    </strong></p></td>
    <td width="22%" valign="top"><p
    align="center"> </p>
    <div class="style5" id="#ArtLinks">
    <p align="center" class="style5"><em><a
    href="Poems.php"><u>P</u>oems</a></em></p>
    <p align="center" class="style5"><em><a
    href="Story.php"><u>S</u>tory</a></em></p>
    </div></td>
    </tr>
    </table>
    </div>
    </body>
    </html>

  • Spry.Effect ERR on web page

    Good day,
    I need some help plz. I am getting an annoying alert on my
    web-site that I can't seem to clear. The alert is Spry.Effect ERR:
    Element "apdiv1" not found. After clicking OK, another SpryEffects
    alert pops up saying Spry.Effects.getstyleProp: [object error]. I
    can't find any spry effect getstyle prop in the code or any object
    that relies on getstyleProp. I'm new to the software (possibly very
    evident in my question) but I can usually figure stuff out and I'm
    totally confused. I should also mention that these alerts only pops
    up when selecting links to the other web pages from the home page
    only. You can navigate the rest of the web pages just fine and even
    back to the home page, but for some reason when you go back to the
    home page and select another pages link, you get the same alerts.
    If you want to see exactly what I'm talking about, go to
    www.barrenriverareasafespace.com.
    Thanks for any help you can give me.
    barrenriverareasafespace.com

    Looking at Retrospective's code in test.html, I see that the
    error is due to the fact he had a script block in his region:
    <script type="text/javascript">
    <!--//
    var testtab = new Spry.Widget.TabbedPanels("testtab", {
    interval: 3000 });
    testtab.start();
    //-->
    </script>
    That executes immediately when the page is loaded, even
    before the region is processed. To get rid of the problem, all that
    has to be done is remove the script block and move its code into a
    region observer so that it gets exectued any time the region markup
    is re-generated. Here's how it should look:
    <html>
    <head>
    <script src="SpryTabbedPanels.js"
    type="text/javascript"></script>
    <script src="SpryTabbedPanelsExtensions.js"
    type="text/javascript"></script>
    <script src="xpath.js"
    type="text/javascript"></script>
    <script src="SpryData.js"
    type="text/javascript"></script>
    <script src="SpryEffects.js"
    type="text/javascript"></script>
    <link href="SpryTabbedPanels.css" rel="stylesheet"
    type="text/css" />
    <script type="text/javascript">
    <!--//
    var dsTest = new Spry.Data.XMLDataSet("test.xml",
    "Test/TestOne");
    dsTest.setColumnType("name", "html");
    Spry.Data.Region.addObserver("FeatureBoxHome", {
    onPostUpdate: function()
    var testtab = new Spry.Widget.TabbedPanels("testtab", {
    interval: 3000 });
    testtab.start();
    //-->
    </script>
    <title>Test</title>
    </head>
    <body bgcolor="#FFFFFF">
    <div id="FeatureBoxHome" spry:region="dsTest">
    <div id="testtab" class="TabbedPanels">
    <ul class="TabbedPanelsTabGroup">
    <li spry:repeat="dsTest" class="TabbedPanelsTab"
    tabindex="0">{name}</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
    <div spry:repeat="dsTest" class="TabbedPanelsContent"
    style="display: block;"> <a
    href="{feature_url}">{title}</a> <img src="{photo}">
    </div>
    </div>
    </div>
    </div>
    </body>
    </html>
    --== Kin ==--

Maybe you are looking for

  • E-mail in smartforms

    Please let me know the process of sending the output of a smartform as an E-mail.(Detailed procedure please).

  • Itune 8.2 for windows xp 64bit

    hi Why isnt there an install for itunes that works for windows xp 64 bit users, this really ****** me off i paid alot of money for my iphone but i cant update it or put music on it because they dont have a 64bit xp install please read this and make a

  • CALL METHOD CL_PROXY_FAULT

    Hi, i am testing fault message(inbound server abap proxy - sync), but i do not know what do i set class name on  exception_class_name on CALL METHOD CL_PROXY_FAULT=>raise. data : uname         type ZXIUSER_NAME_DT_DATA1-name. data : f1            typ

  • Update fail on iPad2 - error 14

    Hello, I try to update my iPad via iTunes connected to my PC, after its download it and try to load, ~3hours its drop message that its failure and error nr. 14, after that I can't log in to my iPad but its recognising by iTune, and I have only 2 opti

  • Need help solving a minor delema....battery quest

    Hello- I received my Zen Micro only two days ago, I am very happy with it, yes.... but there is one little thing that has been eating away at my brain.... I wonder how I should recharge my battery! I know I need an adapter, I'm not stupid...buut... T