Renaming the "top panel"

  • laurent
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 8 months ago #7293 by laurent
Hello,

How can i change the "open" and "close" words in the top panel?

Thanks

Please Log in to join the conversation.

More
13 years 8 months ago - 13 years 8 months ago #7295 by pirossi
First open templates\hot_designnow\index.php and change line 241:
Code:
<div id="sub-panel"><a href="#" id="toggle"><span id="shText">Open</span></a></div>
Instead of 'Open' enter desired caption.

After that edit templates\hot_designnow\js\toppanel.js:
Code:
jQuery(document).ready(function(){ jQuery("#sub-panel").click(function(){ jQuery("#top-panel").slideToggle(); var el = jQuery("#shText"); var state = jQuery("#shText").html(); state = (state == 'Close' ? '<span id="shText">Open</span>' : '<span id="shText">Close</span>'); el.replaceWith(state); }); });
And there change both appearances of word 'Close' and one instance of word 'Open' with desired words. Save & that is that.
Last edit: 13 years 8 months ago by pirossi.
The following user(s) said Thank You: laurent

Please Log in to join the conversation.

Time to create page: 0.150 seconds
Powered by Kunena Forum