I’m aware that Jquery has its complications with FW & certain libaries, but on its own on a page some of its features (plugins) are visually impressive!
I’m trying to implement JQuery into my FW doc, but having a few teething problems… Can anyon please help? See my link
I think to help not only myself, but many many others on here could someone please write a simple consise documented list of step by step guide to implementing Jquery in FW… I would if only I knew!!!
It looks like all you’re missing from your example page is valid links to the jQuery files and the CSS. How did you upload these:
jquery-1.8.2.min.js
jquery.qwicks.js
jquery.qwicks.css
The only issue I see is that they aren’t where your script is looking for them. How did you get the unordered list with IDs into the page? Was that pasted into a Markup Item?
You need to take a look at where the scripts were uploaded on your server, and adjust the paths you pasted into CrowBar accordingly. Unless you created a js folder and uploaded into it, that path is certainly wrong. Upload Stuff allows you to either place the files in the Resources folder or in the same folder as the page it’s applied to (With HTML). Adjust your link and script tags to match the actual location of those files, and you should see a little better results.
Walter
On Nov 6, 2012, at 10:02 AM, Mr worm wrote:
Hi Walt, I used teh upload stuff page action!!! Was that wrong?
& yes the list is pasted into a DIV that contains the crowbar action - I placed the unordered list with IDs in the code button, within this
With little knowledge of Jquery & how it works, Im intrigued as to how to implement this into FW! Not just the example above, but this is a starting point that I try can develop to teach myself the basic’s of Jquery.
I understand I’m a novice & not afaid to learn so any tips for best tutorials or learning are welcomed!
Once I know how to place in FW correct, refreence the .js .css etc files also correctly… I can then look to take thing a little further with the code side of things to tweak & make things do what I wish to do, without having to always ask like designers always do!
FW is very good & I have used for years & will continue to do so, but my intrigue, ambition & own/clients needs are pushing the boundaires of what I want do achieve!
Ah, ok. Most of what I outline below is generally considered best practice but it’s not carved in stone and as always there’s more than one way to do something.
The script calls should either go immediately before the closing tag or in the tag. The closing body tag is generally preferable but it also depends on what your trying to do, it may be necessary to load the js as soon as possible by placing it the head tag instead. In FW go to Menu > Page > HTML Markup… and selection the location.
As your example shows always make sure the core js file, e.g., “jquery-1.8.2.min.js” is listed first with any plugin scripts coming after it.
The js can either be inline, like in your example, or preferably in a separate file which, like CSS, has several benefits when it’s separated from the structure. However, the latter option will require a bit more work (you will need a proper editor to write your js and/or CSS) then in FW you’ll have to use some actions to attach these external files to the FW document. Either option will work but I’m a big proponent of separation. It’s your call.
Does that help get you started?
Todd
On Nov 13, 2012, at 11:27 AM, Mr worm email@hidden wrote:
Hi Todd, Jquery has some very nice effects…
With little knowledge of Jquery & how it works, Im intrigued as to how to implement this into FW! Not just the example above, but this is a starting point that I try can develop to teach myself the basic’s of Jquery.
I understand I’m a novice & not afaid to learn so any tips for best tutorials or learning are welcomed!
Once I know how to place in FW correct, refreence the .js .css etc files also correctly… I can then look to take thing a little further with the code side of things to tweak & make things do what I wish to do, without having to always ask like designers always do!
FW is very good & I have used for years & will continue to do so, but my intrigue, ambition & own/clients needs are pushing the boundaires of what I want do achieve!
Upload those to your server. If you put them within a folder on your server make sure the links read, "/yourfolder/jqueryscript. If your index.html and script files are in the same directory your script src would be without slashes infront.
Copy all the code within the tags into your websites head via: Insert>HTML Markup. Make sure you correct the stylesheet link to reference the one you have uploaded to your directory.
Copy all the code within the tags into an Markup item on your page via: Insert>Markup Item. Again, make sure you correct all the script paths.
I can then use this as a main header in my page, revealing sections on my web site… design, about, portfolio, contact… each containing an image & possibly text!
As a absolute novice, I think a times people on here assume you have knowledge of javascript, CSS, html etc etc… therefore presume certain things. I need a basic, run through so I understand, take on board & can then develop from there! Otherwise you never really learn…
Its possibly why Dan Jaskers name still echo’s around this forum… he did things so well, simply & on a fundamental basic level with no prusumptions taking into account people are on different levels. Patience is a vertue he sure had & why his tutorials are still sought after! I think FW could take a leaf out of his book & would greatly benefit from a live video tutorial resource.
Upload those to your server. If you put them within a folder on your server make sure the links read, "/yourfolder/jqueryscript. If your index.html and script files are in the same directory your script src would be without slashes infront.
Copy all the code within the tags into your websites head via: Insert>HTML Markup. Make sure you correct the stylesheet link to reference the one you have uploaded to your directory.
Copy all the code within the tags into an Markup item on your page via: Insert>Markup Item. Again, make sure you correct all the script paths.