rejetto forum

Help! About Live Ultimate 2.205

Guest · 6 · 8341

0 Members and 1 Guest are viewing this topic.

Kelvin

  • Guest
I am using the Live Ultimate 2.205 template, there is a short note about how to add a short cut
<!--     Add Shortcuts to Live Shortcuts - Part 2  (SHORTCUTS01)
   ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
   1. Copy the following lines:
   <a title="" href="target address (URL)" ><img alt="" src="http://i113.photobucket.com/albums/n205/hfslive/img/tools/bookmark1.gif" class="menu_icon"/>
    My Shortcut<br></a>

   2. Paste them after the " - -> " symbol below.
   3. Folow the instructions detailed in "Add Shortcuts" in the Live's Help document (Live Menu > Help) or Edit href and My Shortcut.
-->

I follow the instuction but I got some problem, the table become incomplete. (look at the picture)



How can I add a shortcut or cut off some shortcut but the table is still fit?


Offline forthehandyman

  • Occasional poster
  • *
    • Posts: 27
    • View Profile
Find the following in the template code:

Code: [Select]
// Live Shortcuts - Part 2 (SHORTCUTS02)
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
new_shortcuts = 0; // the quantity of shortcuts you've made
// End of this customization

Change the 0 to the number of shortcuts you are adding, and it will resize the menu for you.

JEFF


Kelvin

  • Guest
Find the following in the template code:

Code: [Select]
// Live Shortcuts - Part 2 (SHORTCUTS02)
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
new_shortcuts = 0; // the quantity of shortcuts you've made
// End of this customization

Change the 0 to the number of shortcuts you are adding, and it will resize the menu for you.

JEFF
Thank You

But what can I do if I want to delete the original shortcuts?


Offline forthehandyman

  • Occasional poster
  • *
    • Posts: 27
    • View Profile

Thank You

But what can I do if I want to delete the original shortcuts?

Find the following, right above the SHORTCUTS01 info you posted in your first message:

Code: [Select]
<!-- My Shortcuts Menu -->
Below this heading, you will find all of the code for the "original" shortcuts.  You have to be careful, but you can delete them, or comment them out. 

If you add one of your own, and then subract two, that is a net reduction of 1, so you would put -1 in the space for SHORTCUTS02.  Just remember, the number you put in should be relative to the original number of shortcuts.

Let me know if you need any more help.

JEFF


Offline Kelvin

  • Occasional poster
  • *
    • Posts: 1
    • View Profile

Thank You

But what can I do if I want to delete the original shortcuts?

Find the following, right above the SHORTCUTS01 info you posted in your first message:

Code: [Select]
<!-- My Shortcuts Menu -->
Below this heading, you will find all of the code for the "original" shortcuts.  You have to be careful, but you can delete them, or comment them out. 

If you add one of your own, and then subract two, that is a net reduction of 1, so you would put -1 in the space for SHORTCUTS02.  Just remember, the number you put in should be relative to the original number of shortcuts.

Let me know if you need any more help.

JEFF
I am not familar with the javascipts, could you post out the code between this two comment, ...

Code: [Select]
<!-- My Shortcuts Menu -->
...
<!--  Add Shortcuts to Live Shortcuts - Part 2  (SHORTCUTS01)
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
1. Copy the following lines:
<a title="" href="target address (URL)" ><img alt="" src="http://i113.photobucket.com/albums/n205/hfslive/img/tools/bookmark1.gif" class="menu_icon"/>
My Shortcut<br></a>

2. Paste them after the " - -> " symbol below.
3. Folow the instructions detailed in "Add Shortcuts" in the Live's Help document (Live Menu > Help) or Edit href and My Shortcut.
-->

... if I want to delete one shortcut, take "help" as an example.

Thank You.  :)
« Last Edit: December 01, 2007, 03:12:46 AM by Kelvin »


Offline forthehandyman

  • Occasional poster
  • *
    • Posts: 27
    • View Profile
Ok, I have changed some of my shortcuts, but I think this is the original code:

Code: [Select]
<!-- My Shortcuts Menu -->
<div id="menu1Container" style="z-index: 9">
<script language="javascript">document.write('<div id="menu1Content" style="z-index: 5; opacity: 0.95; -moz-opacity: 0.95; filter: alpha(opacity= 93);" onmouseover="ypSlideOutMenu.showMenu(\'menu1\');sphere.src=\''+sphere_over+'\';" onmouseout="ypSlideOutMenu.hideMenu(\'menu1\');sphere.src=\''+sphere_normal+'\';">
<table cellpadding="6" cellspacing="4" class="menu_table" style="background-image: url(\''+menu_bg+'\');background-repeat: repeat-x;background-color: '+menu_bg_color+';border: 1px solid '+menu_outterborder+';"><tr><td class="menu_innerborder" style="border: 1px solid '+menu_innerborder+';width: 163px">')</script><table style="width: 100%; margin: 0 0 6px 0; height: 17px;" cellspacing="0" cellpadding="0"><tr><td class="menu_fontblue"><script language="javascript">document.write(txt_liveshortcuts)</script></td></tr></table><span class="menu_fontgrey">
<script language="javascript">document.write('<a href="#" onclick="'+launch_livedocs+'"><img alt="" src="'+icon_help+'" class="menu_icon"/>'+txt_help+'</a><br/><a href="#" onclick="create_window(500,220,\'no\',\'no\',\'no\',\'no\',\'yes\',\'yes\',\'yes\',\'no\',\'/~progress\',\'status\')"><img alt="" src="'+icon_status+'" class="menu_icon"/>'+txt_hfsstatus+'</a><br/><a href="#" onclick="document.getElementById(\'servers\').style.display=\'block\'; docookie(\'showserver\',1,60); if(psp==1){history.go(0)}else{}"><img alt="" src="'+icon_server+'" class="menu_icon"/>'+txt_changeservers)</script></a><br/>
<a href="#" onclick="setTimeout('document.getElementById(\'mail_info\').style.display=\'block\'',7000); document.getElementById('sendurl').style.display='block'; showmail = 1;docookie('showmail', showmail,60);";><script language="javascript">if(psp==1){}else{document.write('<img alt="" src="'+icon_mail+'" class="menu_icon"/>'+txt_sendurl+'<br/>')}; document.write('</a><a target="_blank" href="http://mail.google.com/mail/"><img alt="" src="'+icon_gmail+'" class="menu_icon"/>'+txt_gmail+'<br/></a>');if(psp==1){document.write('<a target="_blank" href="http://mobile.live.com"><img alt="" src="'+icon_windowslive+'" class="menu_icon"/>'+txt_windowslive+'<br/></a>');}else{document.write('<a target="_blank" href="http://mail.live.com"><img alt="" src="'+icon_livemail+'" class="menu_icon"/>'+txt_livemail+'<br/></a>');}</script>

To comment out the live help, make the following changes:

<!-- My Shortcuts Menu -->
<div id="menu1Container" style="z-index: 9"><script language="javascript">document.write('<div id="menu1Content" style="z-index: 5; opacity: 0.95; -moz-opacity: 0.95; filter: alpha(opacity= 93);" onmouseover="ypSlideOutMenu.showMenu(\'menu1\');sphere.src=\''+sphere_over+'\';" onmouseout="ypSlideOutMenu.hideMenu(\'menu1\');sphere.src=\''+sphere_normal+'\';"><table cellpadding="6" cellspacing="4" class="menu_table" style="background-image: url(\''+menu_bg+'\');background-repeat: repeat-x;background-color: '+menu_bg_color+';border: 1px solid '+menu_outterborder+';"><tr><td class="menu_innerborder" style="border: 1px solid '+menu_innerborder+';width: 163px">')</script><table style="width: 100%; margin: 0 0 6px 0; height: 17px;" cellspacing="0" cellpadding="0"><tr><td class="menu_fontblue"><script language="javascript">document.write(txt_liveshortcuts)</script></td></tr></table><span class="menu_fontgrey">
<script language="javascript">document.write('<!--<a href="#" onclick="'+launch_livedocs+'"><img alt="" src="'+icon_help+'" class="menu_icon"/>'+txt_help+'</a><br/>--><a href="#" onclick="create_window(500,220,\'no\',\'no\',\'no\',\'no\',\'yes\',\'yes\',\'yes\',\'no\',\'/~progress\',\'status\')"><img alt="" src="'+icon_status+'" class="menu_icon"/>'+txt_hfsstatus+'</a><br/><a href="#" onclick="document.getElementById(\'servers\').style.display=\'block\'; docookie(\'showserver\',1,60); if(psp==1){history.go(0)}else{}"><img alt="" src="'+icon_server+'" class="menu_icon"/>'+txt_changeservers)</script></a><br/>
<a href="#" onclick="setTimeout('document.getElementById(\'mail_info\').style.display=\'block\'',7000); document.getElementById('sendurl').style.display='block'; showmail = 1;docookie('showmail', showmail,60);";><script language="javascript">if(psp==1){}else{document.write('<img alt="" src="'+icon_mail+'" class="menu_icon"/>'+txt_sendurl+'<br/>')}; document.write('</a><a target="_blank" href="http://mail.google.com/mail/"><img alt="" src="'+icon_gmail+'" class="menu_icon"/>'+txt_gmail+'<br/></a>');if(psp==1){document.write('<a target="_blank" href="http://mobile.live.com"><img alt="" src="'+icon_windowslive+'" class="menu_icon"/>'+txt_windowslive+'<br/></a>');}else{document.write('<a target="_blank" href="http://mail.live.com"><img alt="" src="'+icon_livemail+'" class="menu_icon"/>'+txt_livemail+'<br/></a>');}</script>

If I highlighted it right, the part to take out should be highlighted in green.  You can either delete it, or use "<!--" on the front and "-->" on the end of the string to comment it out as I did in the example above.

I just tried this, and it automatically resized my dropdown menu.

JEFF
« Last Edit: December 01, 2007, 03:39:52 AM by forthehandyman »