ניתן להשתמש ברכיב הגרעין Banner על מנת להציג גם קבצי פלאש.
הרכיב מאפשר לשלוט על הצגת הבאנר ונותן גם מידע על כמות ההקלקות.
העתיקו את הקוד הבא וערכו אותו.
<p><a href="http://www.DESTINATION_URL.com/" target="_blank">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200" height="109" id="FlashID" title="YOUR_TITLE_HERE">
<param name="movie" value="http://www.absolute_path_to.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.absolute_path_to.swf" width="200" height="109">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</a></p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200" height="109" id="FlashID" title="YOUR_TITLE_HERE">
<param name="movie" value="http://www.absolute_path_to.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.absolute_path_to.swf" width="200" height="109">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</a></p>
http://www.DESTINATION_URL.com/ - כתובת היעד אליה יעבור המשתמש לאחר הקלקה על הבאנר
YOUR_TITLE_HERE – כותרת הבאנר, כמו תגית ALT
http://www.absolute_path_to.swf – כתובת מלאה של קובץ הפלאש – שימו לב: מופיע פעמיים בקוד!
גובה ורוחב – בהתאם לפלאש שלכם
הכנסו לרכיב Banner, צרו באנר חדש והדביקו את הקוד בשדה Custom Banner Code.
בהצלחה
תרגום מכאן
תגובות |
|
Powered by !JoomlaComment 3.26