Wiccle.com in Facebook Wiccle.com in Twitter Wiccle.com in LinkedIn Wiccle.com in Youtube RSS from Wiccle.com Wiccle.com in Atom
 
 
 

Thread: A new website - spanishinns.com

Started: April 13, 2010, 07:58 PM  ⋅  Zone: Public Forums  ⋅  Category: General Chat  ⋅  Posts: 5  ⋅  Views 882
Started by: SiDay  ⋅  Description: An example of a website that incorporates javascripts and google adwords.
Post #1
Member: SiDay  ⋅  Date: April 13, 2010, 07:58 PM  ⋅ Subject: "A new website - spanishinns.com"

I just wanted to show everyone a site that I am in the process of developing www.spanishinns.com , it is basically an affiliate site that allows people to book Hotels, Hostals, Car Insurance etc. for holidays in Spain.

Eventually I want to put videos, forums etc. on it and the content needs some work but I just wanted to put it up as an example of how easy it is to incorporate javascripts into Wiccle and get a site up and running in less than half a day (including hacking in the template).

 

 

Post #2
Member: Markus  ⋅  Date: April 13, 2010, 10:41 PM  ⋅ Subject: "Re: A new website - spanishinns.com"

Looking grand for a budding site! I guess with that we should say "we support Google Ads integration"!  Laughing

The top banner is blocking the menu in everything except IE7 (for those of you who use something else). For once this way around!  (IE7 has issues with div heights at small heights.)

Post #3
Member: Footman  ⋅  Date: April 14, 2010, 10:21 PM  ⋅ Subject: "Re: A new website - spanishinns.com"

Nice clean and simple - I like that. Smile

 

Good luck!

Post #4
Member: Kyle  ⋅  Date: April 22, 2010, 10:29 AM  ⋅ Subject: "Re: A new website - spanishinns.com"

Javascript is indeed very easy to incorporate.

http://kyle.cityjoin.com/MarathonChallenge/index.php?module=site&show=faq shows an example of the jQuery carousel effect incorporated into a site.

I simply included the .js file in the plugins folder and put the appropriate code into the html/text editor for the unit I was working with.

Post #5
Member: Markus  ⋅  Date: April 22, 2010, 01:26 PM  ⋅ Subject: "Re: A new website - spanishinns.com"

For one-page-only javascript needs, including the javascript snippet on the page itself works fine. You may want to create a separate "invisible" unit (without any box) where you include the javascript to ensure it doesn't get filtered or fuxored up by TinyMCE if you use the editor.

Also, if you ever need to include CSS and Javascript files into the page header, you can also use the following:

$core['depend']['css'][] = "whatever/folder/stylesheet.css";
$core['depend']['js'][] = "templates/javascript/myscript.js";

The advantage of this, instead of hard-coding it into skin_wrappers.php, is you can control which CSS and JS files are loaded for each module. You can use the above lines anywhere where $core exists (which would be pretty much anywhere except in functions where it isn't declared for global scope) — I generally put these into module_core.php (such as for Store module in WWB).

 

General Chat

Add to Favorites
Public Forums
Category  ⋅  On and off topic, almost anything goes, but let's keep it civil and reasonable.
 

Public Forums

Add to Favorites
Public Forums
Zone  ⋅ Public forum sections for support and discussions. Available for everyone.
 

Zone Categories

 
Questions? Ask us!
Back to Top