|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Hello, I have created 3 areas for banner ads, div#topBanner, div#bottomBanner and div#sideBanner. They are all applied to the appropriate page templates. In the customization for HEADERINCLUDE i have included the jquery, swfobject.js links and the javascript tags for including the banners in the appropriate place. My question is should/how do I conditionally comment each one out using an if statement, the pages that only have div#topBanner dont need the call to place the swf fine in div#sideBanner as it doesn't exist on some pages. Is this even an issue? I just like clean code and it seems bad to me to have the unnecessary js calls on pages that dont need them. Thanks, Kane Leins __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |