|
הרשם | ![]() |
שאלות ותשובות | ![]() |
רשימת חברים | ![]() |
לוח שנה | ![]() |
הודעות מהיום | ![]() |
חיפוש | ![]() |
|
![]() |
|
כלים לאשכול | תצורת הצגה |
![]() |
# 1 |
חבר בקהילה
דירוג מסחר: (0)
|
בעיה עם JAVASCRIPT בHEAD, מחפש מישהו שיתקן בתשלום
יש לי בעיה,
2 סקריפטים לא עובידם ביחד לא יודע למה, אני אסביר: יש לי סקריפט של תפריט עם TAGS (ראו תמונה של התפריט למטה) וסקריפט של דירוג עם כוכבים. ניסיתי למצוא מקום טוב להשים את הקודים שעיבדו ביחד אבל אני לא יודע איך.. מצב ראשון, התפריט לא עובד ![]() הנה הקוד: קוד:
<head> <title>{image_name} High Definition Wallpaper, HD Wallpaper</title> <META NAME="Description" CONTENT="{image_name} High Definition Wallpaper, click now and find more High Definition Wallpapers of {image_name} and much more"> <base href="http://www.backgroundscity.net"> <link rel="shortcut icon" href="{template_url}/images/icon1.ico"> <script src="/stats/?js" type="text/javascript"></script> <meta http-equiv="content-type" content="text/html; charset={charset}" /> <script src="http://cdn.gigya.com/wildfire/js/wfapiv2.js"></script> <script type="text/javascript"> function highlight(field) { field.focus(); field.select(); } </script> <link type="text/css" href="{template_url}/css/flick/jquery-ui-1.7.2.custom.css" rel="stylesheet" /> <script type="text/javascript" src="{template_url}/js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="{template_url}/js/jquery-ui-1.7.2.custom.min.js"></script> <script type="text/javascript"> $(function(){ // Tabs $('#tabs').tabs(); //hover states on the static widgets $('#dialog_link, ul#icons li').hover( function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); } ); }); </script> <style type="text/css"> /*demo page css*/ body{ font: 62.5% "Trebuchet MS", sans-serif; margin: 50px;} .demoHeaders { margin-top: 2em; } #dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;} #dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;} ul#icons {margin: 0; padding: 0;} ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left; list-style: none;} ul#icons span.ui-icon {float: left; margin: 0 4px;} </style> <link rel="stylesheet" href="{template_url}/style.css" /> <!-- ----------------------------------------------- --> <!-- [MOD] Ajax Star Rating -------------- by Bash-T --> <!-- START ----------------------------------------- --> <script type="text/javascript" src="scripts/yui/2.7.0/build/yahoo-dom-event/yahoo-dom-event.js"></script> <script type="text/javascript" src="scripts/yui/2.7.0/build/json/json-min.js"></script> <script type="text/javascript" src="scripts/yui/2.7.0/build/connection/connection-min.js"></script> <!-- ----------------------------------------------- --> <!-- [MOD] Ajax Star Rating -------------- by Bash-T --> <!-- END ----------------------------------------- --> <!----------------------------------------------------- //--- [MOD] Ajax Star Rating --------------by Bash-T--- //START-----------------------------------------------> <script type="text/javascript"> YAHOO.namespace('rating'); YAHOO.rating.star={ display_percentage : false, //set to true if a percentaged value shall be shown beneath the stars. display_lables: true, //set to true if a ranking label shall be displayed beneath the stars at mouseover. //do not modify the properties below! num : {image_id}, successfully_voted : false, labels : [ '{ajax_rating_labels_0}' , '{ajax_rating_labels_1}', '{ajax_rating_labels_2}', '{ajax_rating_labels_3}', '{ajax_rating_labels_4}', '{ajax_rating_labels_5}'], msgs : [ '{ajax_rating_messages_0}' , '{ajax_rating_messages_1}', '{ajax_rating_messages_2}'] }; </script> <script type="text/javascript" src="scripts/ajaxrating.js"></script> <!----------------------------------------------------- //--- [MOD] Ajax Star Rating --------------by Bash-T--- //-----------------------------------------------END--> {if has_rss} <link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" /> {endif has_rss} </head> אפשר לראות את הכוכבים אבל הם לא עובדים! ![]() קוד:
<head> <title>{image_name} High Definition Wallpaper, HD Wallpaper</title> <META NAME="Description" CONTENT="{image_name} High Definition Wallpaper, click now and find more High Definition Wallpapers of {image_name} and much more"> <base href="http://www.backgroundscity.net"> <link rel="shortcut icon" href="{template_url}/images/icon1.ico"> <script src="/stats/?js" type="text/javascript"></script> <meta http-equiv="content-type" content="text/html; charset={charset}" /> <script src="http://cdn.gigya.com/wildfire/js/wfapiv2.js"></script> <script type="text/javascript"> function highlight(field) { field.focus(); field.select(); } </script> <link type="text/css" href="{template_url}/css/flick/jquery-ui-1.7.2.custom.css" rel="stylesheet" /> <!-- ----------------------------------------------- --> <!-- [MOD] Ajax Star Rating -------------- by Bash-T --> <!-- START ----------------------------------------- --> <script type="text/javascript" src="scripts/yui/2.7.0/build/yahoo-dom-event/yahoo-dom-event.js"></script> <script type="text/javascript" src="scripts/yui/2.7.0/build/json/json-min.js"></script> <script type="text/javascript" src="scripts/yui/2.7.0/build/connection/connection-min.js"></script> <!-- ----------------------------------------------- --> <!-- [MOD] Ajax Star Rating -------------- by Bash-T --> <!-- END ----------------------------------------- --> <!----------------------------------------------------- //--- [MOD] Ajax Star Rating --------------by Bash-T--- //START-----------------------------------------------> <script type="text/javascript"> YAHOO.namespace('rating'); YAHOO.rating.star={ display_percentage : false, //set to true if a percentaged value shall be shown beneath the stars. display_lables: true, //set to true if a ranking label shall be displayed beneath the stars at mouseover. //do not modify the properties below! num : {image_id}, successfully_voted : false, labels : [ '{ajax_rating_labels_0}' , '{ajax_rating_labels_1}', '{ajax_rating_labels_2}', '{ajax_rating_labels_3}', '{ajax_rating_labels_4}', '{ajax_rating_labels_5}'], msgs : [ '{ajax_rating_messages_0}' , '{ajax_rating_messages_1}', '{ajax_rating_messages_2}'] }; </script> <script type="text/javascript" src="scripts/ajaxrating.js"></script> <!----------------------------------------------------- //--- [MOD] Ajax Star Rating --------------by Bash-T--- //-----------------------------------------------END--> <script type="text/javascript" src="{template_url}/js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="{template_url}/js/jquery-ui-1.7.2.custom.min.js"></script> <script type="text/javascript"> $(function(){ // Tabs $('#tabs').tabs(); //hover states on the static widgets $('#dialog_link, ul#icons li').hover( function() { $(this).addClass('ui-state-hover'); }, function() { $(this).removeClass('ui-state-hover'); } ); }); </script> <style type="text/css"> /*demo page css*/ body{ font: 62.5% "Trebuchet MS", sans-serif; margin: 50px;} .demoHeaders { margin-top: 2em; } #dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;} #dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;} ul#icons {margin: 0; padding: 0;} ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left; list-style: none;} ul#icons span.ui-icon {float: left; margin: 0 4px;} </style> <link rel="stylesheet" href="{template_url}/style.css" /> {if has_rss} <link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" /> {endif has_rss} </head> תודה.
__________________
אוקיינוס פורום לדגי נוי ואלמוגים בישראל |
![]() |
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|