Nav Quick Links


Subject: Nav Quick Links
as I can extend nav_quick_links.tpl so that I these also contract and expand ???
if I get that from the file and insert this in the nav_quick_links.tpl so does not functioned
where and which files I must change

Please help


nav.zip
Description: Look this 
Download
Filename: nav.zip
Filesize: 625 Bytes
Downloaded: 211 Time(s)

Subject: Re: Nav Quick Links
please help .............

Subject: Re: Nav Quick Links
Sorry, but I can't understand what your problem is... :roll:

Can you try to explain it again making some examples please?


And remember that you shouldn't bump your posts... :wink:

Subject: Re: Nav Quick Links
Hi MG

i want to make more extract - expand menues ..........
in the quick navigation
at this time an example there are 6
quick
to extract - expand menues
how can i make it more .....

i hope you anderstand me now ???

Subject: Re: Nav Quick Links
This is the code you have to add:

Code: [Download] [Hide] [Select]
<tr>
<th style="cursor:pointer;cursor:hand;" align="left" onclick="ShowHide('style_select','style_select2','style_select');">
<img src="{IMG_NAV_MENU_PALETTE}" alt="{L_SELECT_STYLE}" title="{L_SELECT_STYLE}" />&nbsp;
<a href="javascript:void(0);" title="{L_SELECT_STYLE}" style="vertical-align: top;"><b>{L_SELECT_STYLE}</b></a>
</th>
</tr>
<tr>
<td class="row5">
<div id="style_select2" style="display: none; position: relative; padding-top: 0px; padding-bottom: 0px;">
<table class="forumline-no2" width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td class="genmed" align="center">{STYLE_SELECT_H}</td>
</tr>
</table>
</div>
<div id="style_select" style="display: ''; position: relative;">
<script language="javascript" type="text/javascript">
<!--
tmp = 'style_select';
if(GetCookie(tmp) == '2')
{
ShowHide('style_select','style_select2','style_select');
}
//-->
</script>
</div>
</td>
</tr>


But you have to remember to change the ID.

In this case change style_select in the code to something else... my_block for example.

You have to change the ID otherwise JavaScript is not able to locate the correct block to contract/expand.

Subject: Re: Nav Quick Links
hi

the code that i add is an example ...........
when i copy this code in nav_quick_links.tpl so expand and extract the same menues that i also had ...........
also my question can you give me an exmplample how can i make more menues ???

and sorry i dont understand this
Quote:
But you have to remember to change the ID.

In this case change style_select in the code to something else... my_block for example.

You have to change the ID otherwise JavaScript is not able to locate the correct block to contract/expand.


which files must i edit ..... and how ....
give me an example

Subject: Re: Nav Quick Links
What I can't understand is: do you want more subcategories or do you want more menu?

In your previous post you were asking to add subcategories.

pepi wrote: [View Post]
i want to make more extract - expand menues ..........
in the quick navigation
at this time an example there are 6
quick
to extract - expand menues
how can i make it more


What I suggested you it is meant to add a new category there. The file you have to edit is nav_quick_links.tpl and you have only to change the ID of the block, assigning it a new name.

Code: [Download] [Hide] [Select]
<tr>
<th style="cursor:pointer;cursor:hand;" align="left" onclick="ShowHide('demo_menu','demo_menu2','demo_menu');">
<img src="{IMG_NAV_MENU_PALETTE}" alt="{L_SELECT_STYLE}" title="{L_SELECT_STYLE}" />&nbsp;
<a href="javascript:void(0);" title="{L_SELECT_STYLE}" style="vertical-align: top;"><b>{L_SELECT_STYLE}</b></a>
</th>
</tr>
<tr>
<td class="row5">
<div id="demo_menu2" style="display: none; position: relative; padding-top: 0px; padding-bottom: 0px;">
<table class="forumline-no2" width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td class="genmed" align="center">{STYLE_SELECT_H}</td>
</tr>
</table>
</div>
<div id="demo_menu" style="display: ''; position: relative;">
<script language="javascript" type="text/javascript">
<!--
tmp = 'demo_menu';
if(GetCookie(tmp) == '2')
{
ShowHide('demo_menu','demo_menu2','demo_menu');
}
//-->
</script>
</div>
</td>
</tr>


Try adding this and let me know.

Subject: Re: Nav Quick Links
Hi many thanks it's works
i take this codes (my example)
Code: [Download] [Hide]
  1. <tr class="forumline">  
  2. <th style="cursor:pointer;cursor:hand;" align="left" onclick="ShowHide('test_album','test_album2','test_album');">  
  3. <table cellspacing="0" cellpadding="0" border="0">  
  4. <tr>  
  5. <td>&nbsp;</td>  
  6. <td><a href="javascript:void(0);" title="{L_ALBUM}" style="font-weight: bold;"><b>{L_ALBUM}</b></a></td>  
  7. </tr>  
  8. </table>  
  9. </th>  
  10. </tr>  
  11. <tr>  
  12. <td class="row">  
  13. <div id="test_album2" style="display: none; position: relative; padding-top: 0px; padding-bottom: 0px;">  
  14. <table border="0" cellpadding="0" cellspacing="4" width="100%" class="forumline-no2">  
  15. <tbody>  
  16.  
  17. <tr>  
  18. <td width="8" align="left" valign="middle">{IMG_ARROW_RIGHT}</td>  
  19. <td class="genmed" align="left"><a href="{U_ALBUM}">Zippo {L_ALBUM}</a></td>  
  20. </tr>  
  21. </table>  
  22. </div>  
  23. <div id="test_album" style="display: ''; position: relative;">  
  24. <script language="javascript" type="text/javascript">  
  25. <!--  
  26. tmp = 'test_album';  
  27. if(GetCookie(tmp) == '2')  
  28. {  
  29. ShowHide('test_album','test_album2','test_album');  
  30. }  
  31. //-->  
  32. </script>  
  33. </div>  
  34. </td>  
  35. </tr> 

LOOK

greetings pepi

Subject: Re: Nav Quick Links
Great! :wink:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1706s (PHP: 12% SQL: 88%)
SQL queries: 13 - Debug Off - GZIP Enabled