PDA

View Full Version : help: Dynamic-FX Slide-In Menu



ehmopunk
11-13-2006, 03:07 AM
1) Script Title: Dynamic-FX Slide-In Menu

2) Script URL (on DD):

http://www.dynamicdrive.com/dynamicindex1/davidmenu.htm


3) Describe problem: pls help. i dont get it. how can i insert my image in the bar? heres the line that i cant understand: :confused:

barText="Menu"; // <IMG> tag supported. Put exact html for an image to show.

how can i insert img tag here? can anyone give me an example (juz this line). or maybe anyone could do it for me. heres the link to my image that i want to insert. ;)

<img src="http://i58.photobucket.com/albums/g248/ehmopunk/menu_bar.jpg" alt="Navigation" />

thanks a lot... :)
_________________________________________
ssmItems source code:

*
Configure menu styles below
NOTE: To edit the link colors, go to the STYLE tags and edit the ssm2Items colors
*/
YOffset=150; // no quotes!!
XOffset=0;
staticYOffset=30; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=100; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuBGColor="#737373";
menuIsStatic="yes"; //this sets whether menu should stay static on the screen
menuWidth=210; // Must be a multiple of 10! no quotes!!
menuCols=2;
hdrFontFamily="verdana";
hdrFontSize="2";
hdrFontColor="#CCCCCC";
hdrBGColor="#6C0000";
hdrAlign="left";
hdrVAlign="center";
hdrHeight="15";
linkFontFamily="Verdana";
linkFontSize="2";
linkBGColor="black";
linkOverBGColor="#FF9966";
linkTarget="_top";
linkAlign="Left";
barBGColor="#000000";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="#FFFF99";
barVAlign="center";
barWidth=20; // no quotes!!
barText="Menu"; // <IMG> tag supported. Put exact html for an image to show.

///////////////////////////

// ssmItems[...]=[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
ssmItems[0]=["Your Linkz"] //create header
ssmItems[1]=["Home", "http://www.friendster.com/home.php", ""]
ssmItems[2]=["Profile", "http://www.friendster.com/user.php",""]
ssmItems[3]=["Messages", "http://www.friendster.com/messages.php", ""]
ssmItems[4]=["Friends", "http://www.friendster.com/friends.php", "_new"]
ssmItems[5]=["Search", "http://www.friendster.com/gallery.php", ""]
ssmItems[6]=["Invite a Friend", "http://www.friendster.com/invite.php", ""]

ssmItems[7]=["Log Out", "http://www.friendster.com/logout.php?logout=1", "", 1, "no"] //create two column row
ssmItems[8]=["Email Me", "mailto:ehmopunk@yahoo.com", "",1]

ssmItems[9]=["My Linkz", "", ""] //create header
ssmItems[10]=["View My Photos", "http://www.friendster.com/viewphotos.php?uid=7904964", ""]
ssmItems[11]=["View My Friends", "http://www.friendster.com/friends.php?uid=7904964", ""]
ssmItems[12]=["View My Testimonials", "http://www.friendster.com/testimonials.php?uid=7904964", ""]
ssmItems[13]=["Add Me", "http://www.friendster.com/addfriendrequest.php?uid=7904964", ""]
ssmItems[13]=["Drop Me a Testimonial", "http://www.friendster.com/testimonials.php?action=add&uid=7904964", ""]
ssmItems[14]=["Send a Message", "http://www.friendster.com/sendmessage.php?uid=7904964", ""]
ssmItems[15]=["View My Blog", "http://ron_emo_punk.blogs.friendster.com/ehmopunk", ""]
ssmItems[16]=["View My 2nd F! Account!", "http://www.friendster.com/4770752", ""]
ssmItems[17]=["View MySpace", "http://www.myspace.com/978991", ""]

buildMenu();

//-->

jscheuer1
11-13-2006, 10:27 AM
This keeps coming up over and over again. The tag must be in caps:

<IMG

not:

<img


barText='<IMG src="http://i58.photobucket.com/albums/g248/ehmopunk/menu_bar.jpg" alt="Navigation">'

Also, note the use of single quotes (') as the delimiter for a string that contains double quotes (").

ehmopunk
11-14-2006, 09:29 AM
thanks prof!.... :) it works!