| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Dec 2004 Location: Penang, Malaysia
Posts: 874
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Smarty questions Hello, Question 1: I just download a free css template from somewhere else, but I an having problem to code it in to smarty. My problem is all div's background image that specify url in css style file not loading. example: in css style file PHP Code: PHP Code: Question 2: Alternative ad does not load in FireFox 2, but work for IE7. In tpl file have the following statement PHP Code: Firstly, I use literal tag for banner.tpl - no problem for this. Secondly, if I use literal tag in alt.htm then it will show the TEXT (in this case {literal}) in FireFox, but if I remove the tag then in FireFox show blank space (ad unit show in IE7). Hope anyone can understand my questions. Thanks in advance.
__________________ █ Hostegic - Premium cPanel Hosting [Softaculous | RvSitebuilder | R1Soft daily backups | LiteSpeed] █ [UK] [Linux - cPanel | Windows - WebsitePanel/Plesk] [Shared Hosting | Reseller Hosting | VPS] |
| |
| | #2 (permalink) |
| Senior Member Join Date: Jul 2005 Location: NJ
Posts: 1,219
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | i think theres something with having single quotes around background-image, so make it: background-image('images/bg_header.jpg'); and see if it works. i don't know much about smarty but you could see if your javascript has errors - sometimes IE and FF parse it differently.
__________________ Hacksar.com - Your source for random computer tips and tricks! MySiteMemberships.com - Keep track of your site registration information! Like my post? Rep is appreciated! |
| |
| | THREAD STARTER #3 (permalink) | ||||
| NamePros Regular Join Date: Dec 2004 Location: Penang, Malaysia
Posts: 874
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Anyone can help? Thanks.
__________________ █ Hostegic - Premium cPanel Hosting [Softaculous | RvSitebuilder | R1Soft daily backups | LiteSpeed] █ [UK] [Linux - cPanel | Windows - WebsitePanel/Plesk] [Shared Hosting | Reseller Hosting | VPS] | ||||
| |
| | THREAD STARTER #4 (permalink) |
| NamePros Regular Join Date: Dec 2004 Location: Penang, Malaysia
Posts: 874
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Detected the problem and fixed. Just an update for those may also having the same problem. ????: NamePros.com http://www.namepros.com/showthread.php?t=502236 Question 1: Just because I place in wrong folder ![]() Question 2: To solve the problem just need to include full html tag in alternative file like below. PHP Code:
__________________ █ Hostegic - Premium cPanel Hosting [Softaculous | RvSitebuilder | R1Soft daily backups | LiteSpeed] █ [UK] [Linux - cPanel | Windows - WebsitePanel/Plesk] [Shared Hosting | Reseller Hosting | VPS] |
| |
| | #5 (permalink) |
| Senior Member Join Date: Jul 2005 Location: NJ
Posts: 1,219
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | lol glad you figured that stuff out. too bad we really couldn't have answered that first question at all. XD
__________________ Hacksar.com - Your source for random computer tips and tricks! MySiteMemberships.com - Keep track of your site registration information! Like my post? Rep is appreciated! |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |