1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Please help.. How to limit words in box appear on links...?

Discussion in 'HTML & Website Design' started by sashaiel, Mar 18, 2012.

  1. #1
    Hi guys,
    I'm working on a website here : >spacescientific.com
    when mouse pointer go on links in website, an yellow (ajax/java>I'm not sure!) box opening and show intro of article. now I want to limit number of words (for example to 20 words) on this window .
    to explain what I mean: >spacescientific.com/spacescientific.jpg
    how can I do that. any idea???
    Can anyone help me about this pleaseee. this is really really important to me
     
    sashaiel, Mar 18, 2012 IP
  2. ShinoRex

    ShinoRex Well-Known Member

    Messages:
    227
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    148
    #2
    Hi there.. try to fix it from your script.js file... I think may the length is taking from

    window.addEvent('domready', function(){ var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false}); });Thanks...
     
    ShinoRex, Mar 18, 2012 IP
  3. sashaiel

    sashaiel Greenhorn

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Hi ShinoRex,
    Very very Thank you for reply. there are more than one script.js in folders.

    modules/mod_janewsticker/assets
    modules/mod_janewspro/tmpl/linear
    modules/mod_janewspro/assets/js
    plugins/system/jat3/base-themes/default/layoutinfo
    modules/mod_janews_fp/tmpl/default


    so which one should I edit?
    (If it helps I can send you main site template and files.)
     
    sashaiel, Mar 18, 2012 IP
  4. ShinoRex

    ShinoRex Well-Known Member

    Messages:
    227
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    148
    #4
    Hi, Probably inside

    modules/mod_janewspro/tmpl/linear
    modules/mod_janewspro/assets/js
     
    ShinoRex, Mar 18, 2012 IP
  5. sashaiel

    sashaiel Greenhorn

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    hi ShinoRex,
    I Renamed all those script.js in all folders I listed here but nothing happend to site, and it still show that yellow box without any change!!!!
    So it probably not related to this file?? may I be wrong and I missed anything?:(
     
    sashaiel, Mar 18, 2012 IP
  6. ShinoRex

    ShinoRex Well-Known Member

    Messages:
    227
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    148
    #6
    Hi.. Please search in your header.php or index.php for related code... I mean any code like this

    window.addEvent('domready', function(){ var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false}); });

    And check after removing it frnd...
     
    ShinoRex, Mar 18, 2012 IP
  7. sashaiel

    sashaiel Greenhorn

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #7
    Hey my friend, Please Check your PM box
     
    sashaiel, Mar 18, 2012 IP