Results 1 to 3 of 3

Thread: Tooltips Script Conflict?

  1. #1
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Tooltips Script Conflict?

    Hey There,

    I am having a problem with two scripts, but mostly the one located here:

    (DHTML Tip Message) http://www.dynamicdrive.com/dynamicindex5/popinfo.htm

    and the other one is located here:

    (Image w/Description Tooltip) http://www.dynamicdrive.com/dynamici...agetooltip.htm


    The problem I'm experiencing may be viewed here:

    http://www.berdusk.com/classes/index.htm


    As you can see, the DHTML Tip Message will display if you hover the mouse over the links as the page loads, but not if you hover your mouse over the links after the page has loaded. Also, if you hover your mouse over the page as it loads and click on the Close link in the tip once it has finished loading, it will not open any other tips in that frame/page.

    The other problem I'm having is the tips from the two scripts overlapping - I don't mind this so much as the fact that I'd prefer to have the Image w/Description Tooltip lap over the DHTML Tip Message instead of the other way around.

    Here is a copy of my style.js (with a minor modification for space conservation as displayed in red text).

    Code:
    /*
    Please refer to readme.html for full Instructions
    
    Text[...]=[title,text]
    
    Style[...]=[TitleColor,TextColor,TitleBgColor,TextBgColor,TitleBgImag,TextBgImag,TitleTextAlign,TextTextAlign, TitleFontFace, TextFontFace, TipPosition, StickyStyle, TitleFontSize, TextFontSize, Width, Height, BorderSize, PadTextArea, CoordinateX , CoordinateY, TransitionNumber, TransitionDuration, TransparencyLevel ,ShadowType, ShadowColor]
    */
    
    var FiltersEnabled = 1 // if your not going to use transitions or filters in any of the tips set this to 0
    
    Text[0]=["Absorb Weapon","Information on this skill or spell is not yet available."]
    Text[1]=["Acid Blast","Information on this skill or spell is not yet available."]
    Text[2]=["Acid Breath","Information on this skill or spell is not yet available."]
    Texts 3 through 396 removed for space conservation, as they are fully functional and nearly identical.
    Text[397]=["Retrieval","This spell is for mob use only.  It retrieves a player character's corpse."]
    Text[398]=["Clans","<b><a href='http://www.berdusk.com/raiding.htm'>Clan Raiding</a> | <a href='http://www.berdusk.com/CHtemplates.htm'>Clanhall Templates</a> | <a href='http://www.berdusk.com/CHbuilding.htm'>Clanhall Building</a> | <a href='http://www.berdusk.com/clans.htm'>Clan Index</a></b>"]
    Text[399]=["Districts","<b><a href='http://www.berdusk.com/bloodlines.htm'>Bloodlines</a> | <a href='http://www.berdusk.com/districtrank.htm'>District Rank</a> | <a href='http://www.berdusk.com/warfare.htm'>District Warfare</a> | <a href='http://www.berdusk.com/taxation.htm'>Taxation</a></b>"]
    Text[400]=["Downloads","<b><a href='http://www.omnimud.net' target='_NEW'>OmniMUD Client</a> | <a href='http://www.berdusk.com/snippets.htm'>Snippets</a> | <a href='http://www.berdusk.com/areasfree.htm'>Free Areas</a> | <a href='http://www.berdusk.com/faerun_atlas.pdf' target='_NEW'>Abeir-Toril World Atlas</a></b>"]
    Text[401]=["Building","<b><a href='http://www.berdusk.com/redit.htm'>REDIT</a> | <a href='http://www.berdusk.com/medit.htm'>MEDIT</a> | <a href='http://www.berdusk.com/oedit.htm'>OEDIT</a> | <a href='http://www.berdusk.com/mpedit.htm'>MPEDIT</a> | <a href='http://www.berdusk.com/resets.htm'>RESETS</a> | <a href='http://www.berdusk.com/other.htm'>OTHER</a> | <a href='http://www.berdusk.com/guide/index.htm'>GUIDE</a></b>"]
    Text[402]=["Projects","<b><a href='http://www.berdusk.com/glory.htm'>Glory Points</a> | <a href='http://www.berdusk.com/feats.htm'>Feats</a> | <a href='http://www.berdusk.com/prestige.htm'>Prestige Classes</a> | <a href='http://www.berdusk.com/templates.htm'>Templates</a> | <a href='http://www.berdusk.com/features.htm'>Other</a></b>"]
    Text[403]=["Miscellaneous","<b><a href='http://www.berdusk.com/rules.htm'>Game Rules</a> | <a href='http://www.berdusk.com/legal.htm'>Legal Stuff</a> | <a href='http://www.berdusk.com/sitemap.htm'>Site Map</a> | <a href='http://www.berdusk.com/links.htm'>Off-Site Links</a></b>"]
    Text[404]=["","Information on this skill or spell is not yet available."]
    Text[405]=["","Information on this skill or spell is not yet available."]
    Text[406]=["","Information on this skill or spell is not yet available."]
    
    /*
    Please refer to readme.html for full Instructions
    
    Text[...]=[title,text]
    
    Style[...]=[TitleColor,TextColor,TitleBgColor,TextBgColor,TitleBgImag,TextBgImag,TitleTextAlign,TextTextAlign, TitleFontFace, TextFontFace, TipPosition, StickyStyle, TitleFontSize, TextFontSize, Width, Height, BorderSize, PadTextArea, CoordinateX , CoordinateY, TransitionNumber, TransitionDuration, TransparencyLevel ,ShadowType, ShadowColor]
    */
    
    Style[0]=["#000000","#F0F0F0","#FF0000","#000000","redbg.jpg","blackmarblebg.gif","center","","Tempus Sans ITC","","","","2","1",200,"",2,2,10,10,51,1,0,"",""]
    Style[1]=["#000000","#F0F0F0","#FF0000","#000000","redbg.jpg","blackmarblebg.gif","center","center","Verdana","","fixed","sticky","2","2",500,"10",2,2,250,175,51,1,0,"",""]
    Style[2]=["white","black","#000099","#E8E8FF","","","","","","","left","","","",200,"",2,2,10,10,"","","","",""]
    Style[3]=["white","black","#000099","#E8E8FF","","","","","","","float","","","",200,"",2,2,10,10,"","","","",""]
    Style[4]=["white","black","#000099","#E8E8FF","","","","","","","fixed","","","",200,"",2,2,1,1,"","","","",""]
    Style[5]=["white","black","#000099","#E8E8FF","","","","","","","","sticky","","",200,"",2,2,10,10,"","","","",""]
    Style[6]=["white","black","#000099","#E8E8FF","","","","","","","","keep","","",200,"",2,2,10,10,"","","","",""]
    Style[7]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,40,10,"","","","",""]
    Style[8]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,10,50,"","","","",""]
    Style[9]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,10,10,51,0.5,75,"simple","gray"]
    Style[10]=["white","black","black","white","","","right","","Impact","cursive","center","",3,5,200,150,5,20,10,0,50,1,80,"complex","gray"]
    Style[11]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,10,10,51,0.5,45,"simple","gray"]
    Style[12]=["white","black","#000099","#E8E8FF","","","","","","","","","","",200,"",2,2,10,10,"","","","",""]
    
    applyCssFilter()
    Any help I can get with making these scripts work as described above would be greatly appreciated. Thank you.
    Last edited by jscheuer1; 06-23-2008 at 03:49 PM. Reason: Poorly structured sentence - Berdusk : jds - properly format code

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmmm at a glance the tooltips seem to be working properly for me even after the page has finisheed loading. Tested in IE7 and FF3.x What browser are you using?

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    Berdusk (06-26-2008)

  4. #3
    Join Date
    Sep 2007
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Unhappy Browser versions

    Yes, at a glance they work - did you try closing the tips directly beneath the banner in the center of the page after opening them? The skills list tips in the IFRAME all work perfectly.

    Also, there is still the minor issue of the tips from beneath the banner overlapping the Image Tooltips instead of the Images overlapping the banner link tooltips.

    As for my browser versions, I'm running IE7 and FF1.5. It does this in both browsers, so (although I may need to update my FF) it isn't my browser version causing the problem. I've also looked at it from each of my two roommate's computers, a friend's house, and from a co-worker's. I haven't looked at anything on the page in Opera.



    UPDATE: I tried removing the Image w/Description Tooltip from the page, and the links began working. This has not fixed my problem, but DOES confirm that there is a conflict between these two scripts. Is there anything I can do?
    Last edited by Berdusk; 06-26-2008 at 12:43 AM. Reason: UPDATE

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •