Free Dreamweaver templates related to photography (fullscreen) see 2 example websites?
Hi,
I'm a photographer and I downloaded some Dreamweaver template packs but they are all related to usual corporates, pity enough nothing related to photography.
Can anyone recommend templates or a template pack (freeware) related to photography?
By this I mean almost fullscreen to present the pics as they are supposed to), examples : http://www.haringphotography.com/?splash=1 or http://www.sandernagel.nl/photo/commissioned/portraits_various/374
I have the pictures but not the templates....
I don't know anything about programming, it may be html or other format html5,... (as I heard that other formats will be for the future, just like flash that gets less interesting)
This to relace my more amateurish looking free Wix website
Maybe there are websites with free dreamweaver templates where you can see a picture of the examples ?
Thanks!!!
WordPress is a dynamic site. It needs PHP and a connection to a MySql database to run. Unless you have a local testing server (WAMP or XAMPP) installed on your computer, you won't see local content in your browser.
WordPress consists of 800+ files in 80+ folders. Strangely enough, none of those files are complete pages. They are all just bits of code which the web server assembles and combines with content from the database. In short, there are no real web pages. WordPress is a virtual site; basically a one page site that is created on the fly by the web server. This is a difficult concept for people who are accustomed to working with static HTML pages.
Unless you're a skilled coder, you must not edit the WordPress core files in DW or you will break the site. The only things you can safely edit in Code View are the Theme files:
WP/wp-content/themes/theme_name/page.php
WP/wp-content/themes/theme_name/header.php
WP/wp-content/themes/theme_name/index.php
WP/wp-content/themes/theme_name/footer.php
etc...
http://codex.wordpress.org/Templates
If you're not experienced with code, don't waste time trying to modify your WP theme in DW. Simply install WP on your server and have a go at it...
InMotion and other reputable web hosts have apps to simplify WordPress installation. You can invoke the install wizard by logging in to your server's C-Panel and pressing a button.
Good luck!
Nancy O.
Similar Messages
-
NEW! Free Dreamweaver templates WITH Fireworks vector files
I just released some free Dreamweaver templates that include
not only the Dreamweaver template dwt file, but also the original
pre-sliced Fireworks file with all the template graphics.
The templates include the dwt, Fireworks file, pure CSS
menus, are AdSense-ready, XHTML 1.0 valid and are very customizable
through both the Fireworks file and the CSS.
If you use one, let me know so I can get a screenshot and
post a link to your site showing how the templates have been
customized by various designers.
Cheers!
BroditCan you post a link to the PHP page, please? This will allow
me to see the
HTML markup on it....
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
==================
"Mr Zedd" <[email protected]> wrote in
message
news:eviqn8$ntm$[email protected]..
> Hello everyone,
>
> I have been given an exisiting website to update that
uses Dreamweaver
> templates.
>
> I have made the changes successfully within the
content.dwt file, saved
> it,
> and then uploaded both the new content.dwt file and the
related *.htm
> pages
> that were linked to it.
>
> After going to the website to double check the new pages
I found a *.php
> file
> that uses the same template, content.dwt, but it never
asked to update
> that
> particular file.
>
> So, I opened the *.php file in Dreamweaver and tried to
apply changes from
> the
> content.dwt file to it using: Templates - Update current
page, but no such
> luck. Since there is no code at the start of this file
like the other
> *.htm
> files how do I "connect" it with the newly updated
template. I tried
> making a
> small change on the content.dwt file so see what files
would come up in
> the "do
> you wish to update..." list but for some reason the
*.php file is not
> there.
>
> Perhaps the answer is fairly obvious to someone who has
worked with
> Templates
> a lot but since I have just started working with
templates I still have a
> large
> knowledge gap in this area.
>
> Any help would be appreciated.
>
> Many thanks
>
> Mr Zedd
> -
Free Dreamweaver templates?
I was wondering where I might go to download free Dreamweaver
page templates....> u can get them by paying money, and sure they wil be
superb
Not necessarily....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"mahendra rajeshirke" <[email protected]>
wrote in message
news:gjkb7v$l4k$[email protected]..
> its diffucult to get free tamplate but u can get them by
paying money, and
> sure they wil be superb -
Some free Dreamweaver Templates for download
I've been designing sites using Dreamweaver for years and finally decided to take a stab at creating some templates. I have two available for download so far and plan on putting more online in the coming weeks. They can be found at http://www.pixelrage.com/ in the downloads section. Please let me know what you think, I'm always open for advice and feedback.
Note: You'll need to add them to your cart and check out, but they are free and registration isn't required.
Thanks and enjoy.WordPress is a dynamic site. It needs PHP and a connection to a MySql database to run. Unless you have a local testing server (WAMP or XAMPP) installed on your computer, you won't see local content in your browser.
WordPress consists of 800+ files in 80+ folders. Strangely enough, none of those files are complete pages. They are all just bits of code which the web server assembles and combines with content from the database. In short, there are no real web pages. WordPress is a virtual site; basically a one page site that is created on the fly by the web server. This is a difficult concept for people who are accustomed to working with static HTML pages.
Unless you're a skilled coder, you must not edit the WordPress core files in DW or you will break the site. The only things you can safely edit in Code View are the Theme files:
WP/wp-content/themes/theme_name/page.php
WP/wp-content/themes/theme_name/header.php
WP/wp-content/themes/theme_name/index.php
WP/wp-content/themes/theme_name/footer.php
etc...
http://codex.wordpress.org/Templates
If you're not experienced with code, don't waste time trying to modify your WP theme in DW. Simply install WP on your server and have a go at it...
InMotion and other reputable web hosts have apps to simplify WordPress installation. You can invoke the install wizard by logging in to your server's C-Panel and pressing a button.
Good luck!
Nancy O. -
Dreamweaver Template use and Seo
Hi,
I am using dreamweaver templates for my online java training website http://www.javatutoronline.com .
My doubt is will using dreamweaver template positively or negatively affect seo for my website.Online Java Training wrote:
Hi,
I am using dreamweaver templates for my online java training website http://www.javatutoronline.com .
My doubt is will using dreamweaver template positively or negatively affect seo for my website.
Looking at your page code I can only see <h4> heading tags, no <h1> or <h2><h3> etc. Googles spider will look at the text between each html tag and access it for importance, <h1> being the highest ranked, <h2> the next and so on.
It's important for SEO that you use 'buzz words' between the tags which Google considers the most applicable when it comes to look through your site to give your site every opportunity to be ranked higher.
So you might find that inserting 'Onlne Java Tuition' between a <h1> tag to be beneficial.
I would also insert the following between a <h2> tag as a kind of sub-header to the <h1>tag.
'Personal Online Java Tutor, Java J2ee Project Based Training by 8 Yrs Experienced Software Engineer. Get Practical Online Training in Java J2ee Jsp Servlets Jdbc J2ee Struts Hibernate Spring Ejb Ajax and other Frameworks.'
Obviously the 'buzz words' for your site are Java Online Tuition/Training so make sure you have quite a few of those integrated into the text on the page and perhaps the images alt tags as well.
Of course it is also important to try and get listed on as many associated sites/forums as posssibe as Google looks for back-links to your site. If it finds some on sites/forums which are already highly ranked then that too can help in the ranking.
It's a bit hit and miss though. Sometimes you can implement all of the above and virtually nothing will happen and at other times you can see some really very good results. I recently got a site ranked at no 2 in Google for a couple of generic buzz words which I never expected Google to bite on given that they were quite common to a lot of other websites in competition.
It's a lot easier if you have a catchment 'location' area which you are aiming at. For instance 'Hat Makers London' will stand a better chance than simply 'Hat Makers'.
Good luck. -
Dreamweaver template / having trouble seeing the previews
I am designing a website, using Dreamweaver for the first
time, and I would like to ask your advice.
Do you know how to apply a dreamweaver template to other html
pages. I have having trouble seeing the previews in the local
browser. For examples, when I preview an html page, that has the
template included, I see the page OK. But when I click to go to
another page with the sample template, the new page shows up, but
without the template design included.Answered mutliple times on the DW forum.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"happydreamweaver" <[email protected]> wrote
in message
news:fin6nr$5q1$[email protected]..
> How can I apply a template to new pages? I have done the
following:
> Apply the template to the pages as follows:1 Select File
> Open.
> 2 Browse to and select index.html.
> 3 Select Modify > Templates > Apply Template to
Page.
> 4 Type the title of the page in the Banner Editable
Region. Type or insert
> text in the Body Editable Region.
> 5 Select File > Save.
>
> Then when I preview the broswer, I see the html page as
I should, put when
> I
> click to a new page, the new new doesn't have the
template.
>
> Also, when I went to apply the template to a new page, a
message said that
> I
> had orphaned stuff. What does that mean and how can I
get the template
> show
> apply without the hassle.
> -
Dreamweaver template file (.dwt) updates related files but not file time stamp
I updated a bunch of dreamweaver template files, and allowed dreamweaver to update the affected files in the site.
The file were all checked out, and they were updated.
However, the timestamp of the files did not update.
Now, when I synchronise with my server, it doesn't see these files as being "new".
Any way I can get these to update the timestamp without manually finding and pushing all of them?
Using Dreamweaver CS5 V. 11.0 Build 4993This is certainly an odd symptom, and one I have not heard of before. If you just create a new 'dummy' child page from this template and leave it local (i.e., don't check it in), when you do an update does that timestamp change?
-
Flash banner in a Dreamweaver Template
Hi all,
I am using one of the provided Dreamweaver Templates (CSS).
All is fine, except that for some reason it does not like Flash
imports. I can alter the template as much as I like and it will
always successfully change across the site, BUT if I try to insert
a Flash movie/banner into the template - then it does not appear of
ANY of the site files. The only way I can see the flash banner, is
if I open the template.php file in a browser - then you can see
that it is in fact there and working - but for some reason the
other pages refuse to acknolwegde it. Images / Tables / Text - all
work fine - just not flash banners. I even tried saving the banner
as a JPG file in Flash, then sticking the JPG file in the template
where the banner should - and it worked perfectly, but as a .swf
extension it fails.
Am I missing something?
Nathan> BUT if I try to insert a Flash movie/banner into the
template - then it
> does not appear of ANY of the site files.
Because of the active content .js fix, when you insert a .swf
file into a
template, you must use a Site Root relative path for it.
Open the .dwt template file.
Double-click on the .swf in design view- the "browse to file"
dialog box
should come up showing the currently selected file.
look in the bottom of that dialog box for the pulldown to
change from
document relative path to site root relative path. Change it
to site root.
click okay and save the file, and let changes propagate.
does it show in the child files now?
[note- It may still not show during local preview because
site root relative
paths in javascript will not make any sense during local
preview- they
should work fine on the remote host if the site has it's own
domain name
though]
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Hello,
I have been tasked with updating the navigation on a site that is using a Dreamweaver template (DWT) as the base file. The navigation was originally built using jQuery navigation UI, however this did not address all of our needs and I have updated it with another version of an accordion.
The .dwt file only is only controlling the navigation and the head of the site.
I have integrated the new xhtml structure and added/removed javascript/jquery into the .dwt file. I saved the file, therefore updating all of the relevant .html files, and verified that the accordion works.
However - the accordion does not work for all of the xhtml files. Some files, seemingly at random, are not pulling in the javascript.
When opening the relevant .html files, I can verify that they have all been updated with the new xhtml and the correct javasctipt. However, when viewing the .html files that are not displaying correctly with FireBug, I can see that none of the jquery/javascript is being applied to the navigation (classes are missing that are injected into the xhtml, but the structure and css is correct).
I've done some research and the only issues I've been able to find are related to .xhtml files not being updated with the correct code, but in my case all of the affected files have the correct xhtml and scripts in the head.
Does anyone have any light to shed on this subject? I am quite puzzled.While I understand that looking at code is the ultimate way to find a solution, the intent of my question was not "how do i fix this" or "what is wrong with my code" but rather "does anyone have any idea as to why this would be happening". Or even, "where would you start to troubleshoot this".
I made my question general as such because I intended on trying to troubleshoot on my own in order to better understand the issue.
Thank you for stating the obvious, not all first time forum posters are completely unaware of how to ask questions properly. -
Existing Dreamweaver templates on Joomla website
Hello,
I created a website using Dreamweaver templates for my client. The department website I created uses Dreamweaver (CS3) and the rest of the departments websites are using Joomla (I was told this after the fact). My questions are:
1. Will this create a problem or conflict? I was thinking I could upload my Templates and department folder directly using my FTP program.
2. I noticed there already is a "templates" folder with some folders and an index.html file. So, if I upload my files, will my files conflict because mine refer to "Templates" and the root folder is called "templates".
Any help on how to handle this would greatly be appreciated.
Thanks,
MonaECan you post a link to the PHP page, please? This will allow
me to see the
HTML markup on it....
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
==================
"Mr Zedd" <[email protected]> wrote in
message
news:eviqn8$ntm$[email protected]..
> Hello everyone,
>
> I have been given an exisiting website to update that
uses Dreamweaver
> templates.
>
> I have made the changes successfully within the
content.dwt file, saved
> it,
> and then uploaded both the new content.dwt file and the
related *.htm
> pages
> that were linked to it.
>
> After going to the website to double check the new pages
I found a *.php
> file
> that uses the same template, content.dwt, but it never
asked to update
> that
> particular file.
>
> So, I opened the *.php file in Dreamweaver and tried to
apply changes from
> the
> content.dwt file to it using: Templates - Update current
page, but no such
> luck. Since there is no code at the start of this file
like the other
> *.htm
> files how do I "connect" it with the newly updated
template. I tried
> making a
> small change on the content.dwt file so see what files
would come up in
> the "do
> you wish to update..." list but for some reason the
*.php file is not
> there.
>
> Perhaps the answer is fairly obvious to someone who has
worked with
> Templates
> a lot but since I have just started working with
templates I still have a
> large
> knowledge gap in this area.
>
> Any help would be appreciated.
>
> Many thanks
>
> Mr Zedd
> -
Dreamweaver templates not updating *.php file
Hello everyone,
I have been given an exisiting website to update that uses
Dreamweaver templates.
I have made the changes successfully within the content.dwt
file, saved it, and then uploaded both the new content.dwt file and
the related *.htm pages that were linked to it.
After going to the website to double check the new pages I
found a *.php file that uses the same template, content.dwt, but it
never asked to update that particular file.
So, I opened the *.php file in Dreamweaver and tried to apply
changes from the content.dwt file to it using: Templates - Update
current page, but no such luck. Since there is no code at the start
of this file like the other *.htm files how do I "connect" it with
the newly updated template. I tried making a small change on the
content.dwt file so see what files would come up in the "do you
wish to update..." list but for some reason the *.php file is not
there.
Perhaps the answer is fairly obvious to someone who has
worked with Templates a lot but since I have just started working
with templates I still have a large knowledge gap in this area.
Any help would be appreciated.
Many thanks
Mr ZeddCan you post a link to the PHP page, please? This will allow
me to see the
HTML markup on it....
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
==================
"Mr Zedd" <[email protected]> wrote in
message
news:eviqn8$ntm$[email protected]..
> Hello everyone,
>
> I have been given an exisiting website to update that
uses Dreamweaver
> templates.
>
> I have made the changes successfully within the
content.dwt file, saved
> it,
> and then uploaded both the new content.dwt file and the
related *.htm
> pages
> that were linked to it.
>
> After going to the website to double check the new pages
I found a *.php
> file
> that uses the same template, content.dwt, but it never
asked to update
> that
> particular file.
>
> So, I opened the *.php file in Dreamweaver and tried to
apply changes from
> the
> content.dwt file to it using: Templates - Update current
page, but no such
> luck. Since there is no code at the start of this file
like the other
> *.htm
> files how do I "connect" it with the newly updated
template. I tried
> making a
> small change on the content.dwt file so see what files
would come up in
> the "do
> you wish to update..." list but for some reason the
*.php file is not
> there.
>
> Perhaps the answer is fairly obvious to someone who has
worked with
> Templates
> a lot but since I have just started working with
templates I still have a
> large
> knowledge gap in this area.
>
> Any help would be appreciated.
>
> Many thanks
>
> Mr Zedd
> -
No sound in Dreamweaver template
Hi everyone, I'm brand new to Dreamweaver so please excuse
the stupidity of what I'm about to ask. My problem is this: I have
created a few templates that's been working just fine with text and
images but now I want to embed a sound file and can't for the life
of me get the sound to play. I've tried including the sound file in
the template but to no avail and have seen mention on various sites
of unlocking the header but haven't worked out how to do this. Can
anyone throw me a line on this? I'm midway through a majorly
important project and would really appreciate any advice.http://www.spentharvests.com/templates/school_chapter.dwt
This file is not found by the browser.
Even this file -
http://www.spentharvests.com/Templates/school_chapter.dwt
(the templates folder name should always have an initial cap)
The code on the child page appears nominal. But at the
bottom, you have
this -
<div id="copyright">© 2007
spentharvests.com</div>
<embed name="CS1195492309000" src="../bethelWAV.wav"
loop="false"
autostart="false" hidden="true" width="0" height="0"
enablejavascript="true"></embed>
<embed name="CS1195506747203" src="bethelWAV.wav"
loop="false"
autostart="false" hidden="true" width="0" height="0"
enablejavascript="true"></embed>
The sound file is linked TWICE, and only the second link is
correct. So in
the template, change it to this -
<div id="copyright">© 2007
spentharvests.com</div>
<embed name="CS1195506747203" src="/School/bethelWAV.wav"
loop="false"
autostart="false" hidden="true" width="0" height="0"
enablejavascript="true"></embed>
(i.e., a root relative link directly to the sound file)
and see if that helps.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"nich4444" <[email protected]> wrote in
message
news:[email protected]...
> One of the chapter templates should be viewable at
>
http://www.spentharvests.com/templates/school_chapter.dwt
but when I try
> to
> access it online via a proxy (we have our own server at
home so I can't
> view it
> directly) the page can't be displayed. The pages
generated from the
> templates
> seem to show up okay (for instance
>
http://www.spentharvests.com/School/school_1.html
). Basically I've saved
> all
> the templates in a folder called templates in the root
folder. Inside the
> templates folder they're named school_chapter.dwt,
war_chapter.dwt,
> manse_chapter.dwt and so forth. Is there something like
Dreamweaver
> templates
> aren't viewable online?
>
> Thanks again. By the way I wouldn't want to speak too
soon but I think
> I've
> just about reconstituted something resembling square one
after the GTF. I
> got
> round the changing the book image for something smaller
problem by just
> renaming my new smaller version of the image the same as
the original,
> which
> replaced it throughout the site. Only problem was that
even though its
> pixel
> dimensions were identical to those of the original, the
new version for
> some
> reason sat slightly lower on the page which meant that
the page layout on
> quite
> a few chapters needed adjusting. Never mind, I'm ust
relieved that the
> links
> are back up and working though and also that the new
page should be a lot
> faster to load. I thought that the old file size was
over a MB but it
> turns out
> that it was only(!) 150kb, which challenges my sanity a
bit further. Never
> mind, the new version is less than half that and a lot
better, thanks to
> your
> feedback on the image size.
> -
Designing Dreamweaver templates (was:Info.)
hey again. i have a question. and i am wondering. if its true. could a designer or photogrpaher make a template and have it used in his or her web site? if so. how? i heard you can do this in either of the two programs. photo shop and illustrator. see i am now a member of bc partner. but i am wanting to learn the in between lines. of web site making. see i have started a web site in the past. using dreamweaver, and now i am using muse. but again i am starting from scratch. right now i am using a current site called wix.com. heres my current web site.
1. wix= http://brian-ford.wix.com/photographerexplorer
2. web site in progress using adobe muse. http://bf-photographer01.businesscatalyst.com
3. heres is wix.com it self. you can see how they have this site designed. and with it they have thumbnails of web site templates. that are editable. http://www.wix.com/html5webbuilder/400?utm_campaign=vir_wixad_live
how is that possiable? all i have learnd as a photo student. was design a web site from scratch. besides adding a background image. i have lerned code bfore. and i can laern more. so what is it that i can do?
so how to desing a template? and make it into a image? that someone/client. can tap on it. and edit it. as what they want.Hi bford 225,
Not sure if this is what you are looking for, but for what it is worth:
http://webdesign.about.com/od/dreamweaverhowtos/ig/Create-a-Dreamweaver-Template/
Thanks,
Preran -
I created a webpage using the dreamweaver template when I
open it in the browser in a maximize screen its perfect but when I
adjust the size the content on the middle 'div' is going to the
bottom at the page. How can I do it like if I resize the page The
contents will not be affected? Thanks!!> Of course the image in the middle
> Section which is 3 inches wide will not fit. Right?
That's correct, although inches mean nothing on the screen of
a variety of
users. Pixels would be the more consistent and proper unit of
measure.
> In regards with the css,java, html,
It's javascript, not Java. The two are completely different
things.
> why did you say it?s advanced?
The layout method used on the page is a bit arcane and unlike
other 2/3
column layouts I have seen.
> I know that it?s just to make a template command
> so that you can edit a certain section by using css
> style sheets right?
Hmmm - I don't understand what you are saying. CSS would have
nothing to do
with whether or not you can edit a section.
> But isn?t dreamweaver will make the code for you?
DW will not prevent you from making a mess of those pages,
even though It's
doing what you are telling it to.
> What kinds of difficulties or problems do you think
> that I will have in the future?
Go here -
http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamweaver
Search this forum for "HALO" or "CSS template". You will have
all of those
problems, perhaps.
Look - I don't want to discourage you from using this as an
ACADEMIC
exercise, but I don't think it's a good choice for any
commercial entity.
There are much better free/commercial choices you can make -
http://dreamweaverresources.com/
http://www.projectseven.com/
This is two of the best, in my opinion.
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
==================
"teamse" <[email protected]> wrote in
message
news:[email protected]...
> Ok.Thanks I think that answers my questions because
> If I resize the page to be only 2 inches wide
> Of course the image in the middle
> Section which is 3 inches wide will not fit. Right?
>
> In regards with the css,java, html, why did you say
> it?s advanced? I know some things with html
> and css I know that it?s just to make a template command
> so that you can edit a certain section by using css
> style sheets right? About Java, I don?t have any clue.
> But isn?t dreamweaver will make the code for you?
> The only thing that worries me is the navigation
> Bar. But isn?t to edit it I?ll just have to put the
> Link page for all the menu that I placed in the
> Navigator bar?
>
> What kinds of difficulties or problems do you think
> that I will have in the future?
>
> Thank you so much..
>
> -
Dreamweaver template declaration affects Google Map loading
My Dreamweaver Template declaration statement
<!-- InstanceBegin template="/Templates/kayaking.dwt" codeOutsideHTMLIsLocked="false" -->
is preventing a Google Map from loading. It works fine in IE and Firefox, but not in Safari and Chrome. The weird thing is, if I move it above the following declaration is works fine.
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Dreamweaver inserts and locks this code so the only way I get it to work is to either detach it from the template completely or edit the code in a text editor before upload. I need a different fix. I'm hoping that there is actually other code in my page that is leading to the declaration problem although it seems unlikly.
For reference here is the html that calls the map
<a href="javascript:;" class="content" title="Location Map" onclick="mopen('map1');loadScript();return false">Location Map</a></p>
<div id="map1" style="visibility:hidden;"> <span class="content"><a href="javascript:;" class="closemap" onclick="mclose('map1')" title="Close Map">Close</a> </span>
<div id="googlemap1"> </div>
</div>
For the code or to see for yourself go to http://www.outbackadventures.com/trips_classes/kayaking/kayak_classes/intro_paddling/index 2_3.html
Any help would be much appreciated. Thanks.The problem has been solved. It seems that Google Chrome and Safari do not entirely ignore comment tags such as Dreamweaver's template declaration.
In my "lazy load" Google Map code taken from a Google employee suggestion
http://groups.google.com/group/Google-Maps-API/msg/4e2acbe1ca7f0324
Example at http://imagine-it.org/google/gmaps-samples/dynamicloading.html
there is this line of code
document.documentElement.firstChild.appendChild(script);
As I understand it Chrome and Safari may read the Dreamweaver template comment
<!-- InstanceBegin template="/Templates/kayaking.dwt" codeOutsideHTMLIsLocked="false" -->
as the first.Child and therefore results in invalid html causing an error and no loading of the script.
This was solved by the help of folks at this post:
http://groups.google.com/group/google-maps-api/browse_thread/thread/101bc4c59d098367/0decf 0c096119f82#0decf0c096119f82
Essentially the code above needs to be modified so that it reads from the head section rather than from above it. To fix this, replace the above code with either one of the following lines:
document.getElementsByTagName(\"head\")[0].appendChild(script);
document.documentElement.getElementsByTagName(\"head\")[0].appendChild(script);
Maybe you are looking for
-
Issues with JDBC Connection Pooling
Hi all, I'm experiencing some unexpected behaviour when trying to use JDBC Connection Pooling with my BC4J applications. The configuraiton is - Web Application using BC4J in local mode Using Default Connection Stagegy Stateless Release Mode Retrievin
-
Friends, We have a requirements where we want to enable WEBI as interactive tool where clients can create reports from our company website. We have a Company website which is not SAP EP. Today we have static crystal reports where users log in and acc
-
Okay, after one and a half days of bad installs, error messages, and reading this board I've FINALLY gotten v5.0 to work on my XP system. How'd I do it? Well, I took ALL the fixes offered on this site and did them all at once. Here's what I did...ste
-
Macbook missing trackpad options in lion
Hi, I've been using Lion long enough now that it feels normal. I just got interested in organizing things using multiple desktops and started reading about how things work. I continue to see references to a 'three-fingered-swipe'. My older macbook
-
Can a Mac be harmful to a Windows network (viruses?)
Hi, my IT states (we are 5 Macs in a Windows network) that a Mac connected to the windows network and to internet can be harmful (it can infect the windows network with viruses and trojan horses) Is it true?