Dreamweaver doesn't load CDN jquery in preview?
I've been learning javascript and jquery lately, and am trying to implement a few features on my site.
Troubleshooting a basic slider effect jquery was really difficult, because I was literally copy and pasting WORKING code from other websites, and it wasn't working at all, in preview with firefox safari, or chrome.
Cut to later: I try just loading the site to my server, low and behold, it works.
The ONLY thing I could think of, was that my jquery library was loading remotely from google, a CDN.
once I loaded the jquery script locally, it started working locally.
what gives? does dreamweaver not have the ability to load remote scripts when previewing? or is the preview process 100% offline?
This works for me
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<link href="SpryAssets/jquery.ui.core.min.css" rel="stylesheet" type="text/css">
<link href="SpryAssets/jquery.ui.theme.min.css" rel="stylesheet" type="text/css">
<link href="SpryAssets/jquery.ui.accordion.min.css" rel="stylesheet" type="text/css">
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="SpryAssets/jquery-ui-1.9.2.accordion.custom.min.js" type="text/javascript"></script>
</head>
<body>
<div id="Accordion1">
<h3><a href="#">Section 1</a></h3>
<div>
<p>Content 1</p>
</div>
<h3><a href="#">Section 2</a></h3>
<div>
<p>Content 2</p>
</div>
<h3><a href="#">Section 3</a></h3>
<div>
<p>Content 3</p>
</div>
</div>
<script type="text/javascript">
$(function() {
$( "#Accordion1" ).accordion();
</script>
</body>
</html>
Similar Messages
-
I just upgraded to dreamweaver cs5.5 and widget doesn't load properly ?
I just upgraded to dreamweaver cs5.5 and the spry lightbox gallery widget doesn't load properly ? I drag and drop in design view. All my other adobe programmes are still cs3 flash photoshop etc is this why or what am I doing wrong as all i get on the page is a set of images vertically from the gallery template and no gallery layout? Can anyone help?
Was my answer here http://forums.adobe.com/message/4339831#4339831 not good enough???
Gramps -
Flash Movie Doesn't Load in Dreamweaver
I'm trying to center my flash movie withing a 3 row table in
an HTML file that has the "Flash Detection" javascript embedded
within it. I'm really not sure if I've put the table formatting
HTML in the correct place or not. When I test the movie everything
is fine but it doesn't load online. I'll attach the code to this
post. The website is www.elkhornpeakcellars.com if you'd like to
see what this code currently produces. Thanksdvdbsqt;
You asked>
I'm really not sure if I've put the table formatting HTML in
the correct
place or not.
I don't see any html table related tags in your posted
script, or in the url
page source-Perhaps you found an acceptable solution--your
flash appears OK
(ie7/winxp/fp9)...
-Tom Unger -
My home page doesn't load when I type in the sites address:
http://www.typea.com, but does
load when I type in typea.com/Index.html.
The preview in browser works fine, and I've checked all the
links within the site and they check out okay.
Appreciate any help!
Thanks,
PeterCheck with what default home pages and extensions are loaded
against the
server, and make sure that index.html is included as an
option.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"TYPE A" <[email protected]> wrote in
message
news:f2g56k$4sj$[email protected]..
> My home page doesn't load when I type in the sites
address:
>
http://www.typea.com, but does
load when I type in typea.com/Index.html.
>
> The preview in browser works fine, and I've checked all
the links within
> the
> site and they check out okay.
>
> Appreciate any help!
>
> Thanks,
> Peter
> -
Page not loading correctly in local Preview
When I preview in a browser—Safari on Firefox, the page doesn't load properly.
Here's some background:
It seems the problem centers around recently changing my local root folder to
public_html--(to synchronize with my remote public_html root folder).
All my pages on my local view, including Image Gallery (a template from project vii) pages had been in a
subfolder: www
After the reorganizing, all my pages updated and seem to be working
correctly, except:
1) When I preview (local) one of my Gallery Image pages with Safari, full
size images can't be found—although all the links are correct.
I looked at Safari's activity window; it showed errors in loading, as it was
still looking for the full size images in the old www subfolder (which no
longer exits) instead of the new root folder--public_html.
2) The problem also happens when I create a new Image Gallery page.
Note: these pages load correctly on the server.
3) I would appreciate help with this.
Thanks,Hard to comment without seeing any code but there's no need to rename your local root folder to be the same as your remote root folder.
Provided the site definitions (local and remote) in DW are set correctly and the Host directory for the Remote Site is set to "public_html", DW can handle the file paths.
I have several sites on different areas of my local hard drive with various folder names. Likewise the Host directory for the Remote Site varies: html, public_html, web and so on. DW is happy with all of them. -
Dreamweaver doesn't see my template anymore
I honestly searched this forum for my issue but not having
any luck. I need to edit a Dreamweaver site. I created it using a
template (.dwt) and it has never given me any trouble until now.
For some reason when I edit the template and save the file,
Dreamweaver doesn't ask if I want to update the pages anymore. It
used let me know about updating my pages in the past and I sure
don't recall ever telling Dreamweaver to not update.
Anyway, in order to get around this, I tried to reapply the
template, but when I make the attempt, Dreamweaver doesn't
acknowledge that my site has any templates.
(Modify>Template>Apply Template to Page> I see a "no
templates" message) So I cannot apply my template or any template.
Furthermore, if I try to edit the actual page, DW won't let me edit
the template regions. The preview shows the name of the template in
the upper right corner of my HTML pages. What can I do? to fix
this? Right now, I'm locked out of my pages. Thanks.Here are seven common mistakes that will result in changes
not propagating
from Template to child -
1. Rename the Templates folder
2. Move the Templates folder to some other folder level in
the site other
than root level
3. Move a template out of the Templates folder.
4. Make changes to an editable region of the template (which
will not
propagate)
5. Assume that template changes can be uploaded to the server
without also
uploading the changed local files
6. Corrupt the site cache so that the link between template
and child page
is broken
7, Improperly create your child pages by simply opening the
template,
adding page specific content, and resaving the template with
an *.html
extension rather that its *.dwt extension. (you can tell if
this is the case
by looking at the code on a child page - if you see anything
like <!--
TemplateBeginEditable... then this is what you have done)
The 6th problem can be repaired by using SITE | Advanced >
Recreate Site
Cache, and the six others can be fixed by just not doing
them. Have you
done any of those?
Or, read this -
http://www.adobe.com/go/dd83ba8b
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"pcgs" <[email protected]> wrote in message
news:[email protected]...
>I honestly searched this forum for my issue but not
having any luck. I need
>to
> edit a Dreamweaver site. I created it using a template
(.dwt) and it has
> never
> given me any trouble until now. For some reason when I
edit the template
> and
> save the file, Dreamweaver doesn't ask if I want to
update the pages
> anymore.
> It used let me know about updating my pages in the past
and I sure don't
> recall
> ever telling Dreamweaver to not update.
>
> Anyway, in order to get around this, I tried to reapply
the template, but
> when
> I make the attempt, Dreamweaver doesn't acknowledge that
my site has any
> templates. (Modify>Template>Apply Template to
Page> I see a "no templates"
> message) So I cannot apply my template or any template.
Furthermore, if I
> try
> to edit the actual page, DW won't let me edit the
template regions. The
> preview
> shows the name of the template in the upper right corner
of my HTML pages.
> What
> can I do? to fix this? Right now, I'm locked out of my
pages. Thanks.
> -
I just bought Adobe CC and Dreamweaver will not load. It pops up then instantly closes. I am on Mac OSX Yosemite version 10.10.1. I'm stuck using my Dreamweaver CS6 still for now. I have the latest versions of Java and have tried different things it just doesn't work.
Thanks for any help.Newer versions of Java aren't going to help, you still need Java SE 6 in order for DW to function.
Do a search for "Java SE 6" in the forum, the results should get you a couple of "answered" threads with te links/instructions on how to get JSE6 back on your machine. -
'New Icloud Terms and Conditions' window pops up every time I try to check my email, or when I open setting. My email doesn't load because of this, so I haven't been able to check my email for months. When I click, 'view terms' it takes me to my Icloud section in settings, but the terms don't pop up. I plugged it into my iTunes to see if it would pop up, but that didn't work either. My phone is updated, and I'm pretty sure I already accepted the new terms and conditions on the last update a few months back.
Hi munaxnight,
If you are having issues with your iPhone continuing to ask you to accept terms and conditions, you may want to try some things to troubleshoot.
First, quit all running applications and test again -
Force an app to close in iOS
Next, I would try restarting and if needed resetting the iPhone -
Restart or reset your iPhone, iPad, or iPod touch
If the issue is still present, you may want to restore the iPhone as a new device -
How to erase your iOS device and then set it up as a new device or restore it from backups
Thanks for using Apple Support Communities.
Best,
Brett L -
I have downloaded my music off of my phone to my iTunes account on my computer, but when i download music on my laptop it doesn't load to my phone? How do i do it?
Have you selected the music to sync?
-
when i connect to wifi network the login page doesn't load and an error msg pops up sayin login page can't open because too many redirects occured and i get the same exact error msg with safari over wifi and with any application connecting to a wifi ( windows live messenger, skype, yahoo....)
can anyone help me plz??
thanksI got the same error the other day. I'm not 100% sure what it is but I turned WiFi off, then back on again, and reconnected without the error.
-
My browser will not load a page or update unless I am actively moving my cursor or typing. If I select a page and don't do anything then it doesn't load at all. I have no idea how this happened or how to fix it. Thanks.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
Safari doesn't load, just crashes.
Hi,
Wondering if anyone can help me. Safari has started throwing errors up which means it doesn't load giving the below error message (it's not complete, can copy the rest if needed). Hadn't done any updates (I've just installed Mavericks in the hope that it would fix, but no luck).
Process: Safari [590]
Path: /Applications/Safari.app/Contents/MacOS/Safari
Identifier: com.apple.Safari
Version: 7.0 (9537.71)
Build Info: WebBrowser-7537071000000000~3
Code Type: X86-64 (Native)
Parent Process: launchd [281]
Responsible: Safari [590]
User ID: 501
Date/Time: 2013-11-01 21:15:01.446 +0000
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 28560F35-9B71-2365-F3FE-FA54AAB0A2A9
Crashed Thread: 11 Safari: HistoryTextCache caching
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Does anyone have any suggestions on how to fix? Have trawled the forums but nothing seems to work. Any help would be really appreciated, thanks.Open the Finder. From the Finder menu bar click Go > Go to Folder
Type or copy paste the following:
~/Library/Safari/History.plist
Click Go then move the History.plist file to the Trash.
Now type or copy paste the following:
~/Library/Caches/com.apple.Safari/Cache.db
Click Go then move the Cache.db file to the Trash.
Quit and relaunch Safari to test. -
Safari doesn't load redirect page
Hi everybody,
I have an activation mail for subscribers.
It contains a link like :
http://oneSite/do/something?param=yeah&url=https%3a%2f%2fanotherSite/do/somethin g/else%3fparam1=tata%26param2=titi&trolollo=true
On ipad using safari (and only there) clicking it does the redirection (I can see the correct url on the new tab) but doesn't load the page. It stays blank.
It also appens on ipad simulator.
However using "open in a new tab" or pasting it in url bar works well they're not really userfriendly behaviors.
Has anyone an idea about a workaround ?Since it's both Macs ...
Reset your Airport Express base station > Resetting an AirPort base station FAQ -
Safari doesn't load pages containing html5 canvas on iMac
Suddenly Safari either is very slow to load or doesn't load some pages at all.
I have tracked it down to be pages containing html5 canvas element.
This happens only on iMac and Macbook Air. It doesn't happen on iPad nor on Safari on a Pc. It will happen on the Mac computer both when the pages are out on the internet and when the pages ar locally stored. It's driving me absolutely mad!
I've tried emptying cache both through Safari menu and by removing Safari's Cache.db, I've reset Safari preferences, restarted, and changed DNS to Open DNS (though it seems strange it should be an issue since the problem also occurs when I run the site on localhost).
If I open the page directly entering the url in the adressbar it works fine, it is when I try to access it from a link on another page on the site it doesn't load. If I press reload it will load fine. The link from other pages can be either an html <a href="url"> tag or javascript window.location or window.location.href neither works. The weird thing is it worked fine until just yesterday. And it works fine on every other machine except the Macintoshes. WHYHi Carolyn,
Thanks for the quick reply. I've tried everything you wrote now, however the problem remains.
One thing I've noted though is that the page actually loads but it takes very very long time, and sometimes when the pages have been loaded the images doesn't look quite right until I hit the reload button.
I've been thinking about another thing, there are a lot of effects like round corner, shape and text shadow, can it be these that cause the problem? I still think it is very strange though that it all of a sudden stopped working and that running it on PC or iPad everything is just fine.
Another thing to add is that the computer is very new just got it like 2-3 weeks ago, and haven't hardly added anything except got Xcode, macVim, firefox and Filezilla.
Also just before the problem appeared I ran a page with javascript that had me caught in an endless loop of alerts. Got that fixed, but ever since that some pages won't load correclty...
Is there possibly anything else I can do to fix this? -
Satellite A500-19Q: Win 7 doesn't load - UNMOUNTABLE BOOT VOLUME
Hy everybody,
I'm working since 2 months with my new A500-19Q running Win 7 Home Premium 64bit.
Yesterday night the system has been regularly stopped with the windows "shut down" command.
Today, the machine doesn't load win 7 at all.
If I let the loading work, the system reaches the blue screen with "UNMOUNTABLE_BOOT_VOLUME".
If I try to recover the system with the recovery dvd made some time ago by Toshiba Utility, the starts to load informations but after some hard drive work, it stop with black screen and the arrow cursor, but anything else.
I downloaded and burt the Windows 7 64bit Repair Disc, but as already sad, the system start loading but it doesn't get to the end.
So it seems impossible to proceed with "chkdsk /f" command.
What should I do finally?
thanks
Message was edited by: MikeB_2Hi
The blinking cursor in the left upper corner means that something could be wrong with the HDD or the partition on the HDD.
I had such issue some years ago on my notebook and in my case the HDD died it was a head crash.
Anyway I think you should check if the HDD can be formatted using another disk
You could try an Linux live CD or something like that
Maybe you are looking for
-
Can the B520 be used as an external monitor for a macbook via the HDMI in?
Hi, I'm very happy with the Lenovo, but it looks like our family will be acquiring a macbook in the near future. Can I use HDMI in on the Lenovo B520 so that it becomes an external display for an apple computer? Thanks for the help.
-
I have two e-mail accounts. A lot of my content is with the older account which is deactivated. How do I get iTunes to recognize this content?
-
I seem to have a complete lack of any ability to install fonts with pacman pacman -S <somepackage> I've tried: ttf-dejavu, terminus, aur: monaco-linux, ttf-inconsolata, artwiz-fonts after some bashing with xset +fp /... i managed to get artwiz fonts
-
Hi Guru's i want to use Vendor payment transaction F110 with this additional functionality saying that able to edit vendor payment proposals in USD currency. and laso how to active house bank which is not in not active? value points will be assign
-
Support IPSec VPN Client in ASA Multiple Context Mode
I've looked at under "Cisco ASA Series CLI Configuration Guide, 9.0" on "Configuring Multiple Context Mode", it says "IPsec sessions-5 sessions. (The maximum per context.) ". Does it mean in ASA Multiple Contest Mode support IPSec VPN Client? I just