Dreamweaver template - Image display
Hey everyone.
I am using a Dreamweaver template that I have created to
format my pages. The banner is a graphic. I have created 2 pages,
both with the same template. When i view these in IE one has a
crisp clear image and the other one has jagged edges (like i have
resized it). I have went through the code for both pages and they
are EXACTLY the same.
I am complete stumped as to why this is happening. I have
never seen this before.
Does anyone have an suggestions as to what to look for, or to
solve this??
Show us the pages, please.
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
==================
"athomas32" <[email protected]> wrote in
message
news:f427lu$mf9$[email protected]..
> Hey everyone.
>
> I am using a Dreamweaver template that I have created to
format my pages.
> The
> banner is a graphic. I have created 2 pages, both with
the same template.
> When
> i view these in IE one has a crisp clear image and the
other one has
> jagged
> edges (like i have resized it). I have went through the
code for both
> pages and
> they are EXACTLY the same.
>
> I am complete stumped as to why this is happening. I
have never seen this
> before.
>
> Does anyone have an suggestions as to what to look for,
or to solve this??
>
>
Similar Messages
-
Dreamweaver CS3 Not Displaying Some Images
Hi,
About a week ago, certain images that have always displayed
correctly within Dreamweaver started appearing as the "broken page"
icon. A table background image I just created today decided it was
going to act up as well. These images display fine in all the
browsers, and the web pages I'm designing look right. But not being
able to see these images within Dreamweaver makes designing very
difficult. Any ideas?
I am using Dreamweaver CS3 on a Mac Pro at work.
JoshLooks like my message got lost. Would really appreciate some
help on this as I have to use this software every day. Thank
you. -
What I want to do is , have two images on image displays and the pass them through the same setup as the pattern matching example to get the number of matches , I have attached what I have done and also given the pattern matching example program as well.
Hope to get answers back soon,
Thanks Alan
Attachments:
screenshot.docx 48 KB
Pattern Matching Example.vi 100 KBHi there!
The example used can be adapted for comparing two images, however the algorithm and coding for finding the differences is more specific to your actual problem. In terms of the loading and displaying of the images, this can be done in the same way.
Once you have some sort of algorithm, then you can automate the learning and matching by simply wiring them in order. (in the example, these are put in case structures as they are waiting on response from the front panel)
I hope that this helps,
Liam A.
National Instruments
Applications Engineer -
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.
> -
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/ -
Dreamweaver Templates with Web Gallery
I have built a site in dreamweaver CS4 I have used a Dreamweaver Template for my pages. Rather than clog my pages up with images I used Adobe Bridge to create a web gallery, It created a gallery ok and I saved it to my hard drive. It created two items, a resourses folder and an "index" file. So I I copied and pasted the two items into my Dreamweaver folder I created and called SS_Bridge. I pointed a link I created to point to the "index" file within the SS_Bridge Folder in Dreamweaver, Will this create a problem as there will be two "Index" files within my site
jjrutterThe "home" page index file would be at the root level of the site. Other folders within the root can all have their own index (default) files.
-
DreamWeaver Template change not updating children webpages?
Hi Group,
Sorry for my newbie question here.
I loaded an HTML webpage, and saved it out as a DreamWeaver Template file.
I then created webpages from the template file (( File - New - Page From Template - Site - Template), and made sure that the "Update Page when Template Changes" check box was selected/checked.
I then created several chldren webpages, and saved them as .html files.
I decided to change the navbar system - part of the uneditiabel region in the template - by opening the template file and edit-ing that file, and then saving it as the same DreamWeaver template file.
However, the webpages did Not Update to reflect the navbar changes in the template fle !??!???
Can someone tell me what I'm doing wrong?
I believe it is something that I'm doing incorrectly with DreamWeaver ..
Here is the HTML if anyone is interested.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateBeginEditable name="DocTitle" -->
<title>CNC Joe's WorkShop - - Home Page </title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../style.css" rel="stylesheet" type="text/css" media="screen" />
<!-- Keep the http-equiv meta tag for IE8 -->
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<!-- Link the CSS file here -->
<link rel="stylesheet" type="text/css" media="screen,projection" href="../style.css" />
</head>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<body>
<div id="wrapper">
<a name="top"></a>
<a href="index.html" target="_self" title="CNC-Joe's Home Page" >
<img src="../joesworkshoplogo.gif" width="770px" height="300px" alt="CNC Joe's WorkShop - Home Page" />
</a>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
<!-- BEGIN OF PULL DOWN MENU -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
<div class="mainmenu">
<ul>
<li class="li_nc"><a href="index.html" target="_self" >Home</a></li>
<li class="li_hc"><a href="cad.html" target="_self" >CAD</a><ul class="ul_ch">
<li class="li_nc"><a href="cad_intellicad.html" target="_self" >IntelliCAD</a></li>
<li class="li_nc"><a href="cad_draftsight.html" target="_self" >DraftSight</a></li>
<li class="li_nc"><a href="cad_progesoft.html" target="_self" >Progesoft</a></li>
</ul></li>
<li class="li_hc"><a href="cam_html" target="_self" >CAM</a><ul class="ul_ch">
<li class="li_nc"><a href="cam_mach3.html" target="_self" >Mach3</a></li>
<li class="li_nc"><a href="cam_vcarve.html" target="_self" >V-Carve</a></li>
<li class="li_nc"><a href="cam_cut3d.html" target="_self" >Cut 3D</a></li>
<li class="li_nc"><a href="cam_bobcadcam.html" target="_self" >Bob-CAD-CAM</a></li>
<li class="li_nc"><a href="cam_meshcam.html" target="_self" >Mesh CAM</a></li>
<li class="li_nc"><a href="cam_deskcnc.html" target="_self" >Desk CNC</a></li>
</ul></li>
<li class="li_hc"><a href="projects.html" target="_self" >Projects</a><ul class="ul_ch">
<li class="li_nc"><a href="projects_zzeroplate.html" target="_self" >Z Zero Plate</a></li>
<li class="li_nc"><a href="projects_x0y0edgefinder.html" target="_self" >X0-Y0 Edge Finder</a></li>
<li class="li_nc"><a href="projects_digitizingtouchprobe.html" target="_self" >Digitizing Touch Probe</a></li>
<li class="li_nc"><a href="projects_millwebcam.html" target="_self" >Mill Web CAM</a></li>
<li class="li_nc"><a href="projects_laseredgefinder.html" target="_self" >Laser Pointer Edge Finder</a></li>
<li class="li_nc"><a href="projects_davidlaserscanner.html" target="_self" >David Laser Scanner</a></li>
</ul></li>
<li class="li_hc"><a href="reference.html" target="_self" >Reference</a><ul class="ul_ch">
<li class="li_nc"><a href="ref_gcodes.html" target="_self" >G-codes</a></li>
<li class="li_nc"><a href="ref_nema.html" target="_self" >NEMA Motor Info</a></li>
<li class="li_nc"><a href="ref_vbearings.html" target="_self" >V-Bearings</a></li>
<li class="li_nc"><a href="ref_linearguides.html" target="_self" >Linear Guides</a></li>
</ul></li>
<li class="li_hc"><a href="offtopictopics.html" target="_self" >Off-Topic Topics</a><ul class="ul_ch">
<li class="li_nc"><a href="ott_backyardfoundry.html" target="_self" >BackYard Foundry</a></li>
<li class="li_nc"><a href="ott_blacksmithing.html" target="_self" >BlackSmithing</a></li>
</ul></li>
<li class="li_nc"><a href="links.html" target="_self" >Links</a></li>
<li class="li_nc"><a href="contact.html" target="_self" >Contact</a></li>
</ul>
</div>
<!-- END OF PULL DOWN MENU -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
<!-- END OF PULL DOWN MENU -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ -->
<!-- TemplateBeginEditable name="content" -->
<h2>Projects: Digitizing Touch Probe:</h2>
<ul>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
</ul>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<!-- End of Editable Region - the rest is Boiler Plate -->
<!-- TemplateEndEditable -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<br />
<p><a href="#top" >Back To Top...</a></p>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<!-- Footer Region -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -->
<div id="footer">
<hr />
<p>
<a href="http://validator.w3.org/check?uri=referer">
<img class="logos" src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer">
<img style="border:0;width:88px;height:31px"
class="logos" src="http://jigsaw.w3.org/css-validator/images/vcss"
alt="Valid CSS!" />
</a>
</p>
<h5><strong><i>
This website is for educational purposes only. Any resemblance to any person - living or dead - is purely coincidental
</i></strong></h5>
</div>
</div><!-- end Div Wrapper -->
</body>
</html>Additional Info:
No -I haven't been able to get the DW Template feature to work on other sites - this is my first application of it to a website (actually it's the whole reason for getting DreamWeaver... I know it works, I know that I'm doing something wrong.. I just don't know what it is...)
All the .HTML files (index.html, cad.html, cam.html, etc. etc.) are in the website's root directory.
The Template file is in its own sub-directory folder named "Templates".
Right now even the .css file is in the root directory....
Thank You for trying to help me - I greatly appreciate it.
Joe -
Made site in Dreamweaver, doesn't display correctly using free hosts
Hello everyone
I'm just a beginner using DW and have a slightly older
version - DW MX2004. I have built my site in DW, and wanted to try
a free web hosting service until I see if I like having a website
and will actually be good at keeping it updated before I find a
paid service.
The problem is that whenever I upload my files into the free
webhosting service (I've tried several - Bravenet, Freehostia,
110mb) the pages don't display any of the formatting shown in DW. I
used a page design CSS sample to create the pages in DW, would that
make a difference?
Is it just that the free hosting services don't support DW?
Am I missing a step in my design before I try and upload them?
Any help gratefully received.
Thanks.Are you using an external css file? If you are make sure to
point it to the root directory by placing a "/" slash (minus the
quotes. So for example if your path is
href="css/style.css"
change it to
href="/css/style.css"
I don't actually use any of dreamweaver templates or wizards,
so I'm not sure how it creates the paths. Hope this helps.
Note: As far as I know dreamweaver is just an editor
(glorified notepad) and doesn't have any effect on your files and
doesn't need any support on hosts. There may be some advanced
features that require support but none that I am aware of. -
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 -
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. -
Heyyy,
I have been trying to set up some Dreamweaver Template files.
I have defined an editable region for the content to go in, I then create a new file using this template and start editing the page. However when I put in too much content, the editibale region doesnt flow or stretch its height to match the content. (I have attached a screenshot of DW to show that the design looks fine, but you can tell that the content overflows the editable region guidelines)
This isn't a problem in any browser apart from IE7 (which I have attached a screenshot of to show you what is happening) where the content doesn't display properly.
I was just wondering if anyone might know how to correct this issue? If I need to provide any more details, code or screenshots it would be great if you could let me know. And thanks for any help offered!
Cheers,
EzraEzra-The best thing you can do to get help on this is put that page out there on a web server and provide a link. That will give the very helpful people here all the resouces needed to view what might be causing your problem. If you don't do this, it's just a guessing game that really nobody wants to play.
-
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 & Javascript
I have a Dreamweaver template with this script:
<SCRIPT type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a
.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++) x.src=x.oSrc;
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers
.document);
if(!x && d.getElementById) x=d.getElementById(n);
return x;
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
// Comma separated list of images to rotate
var imgs = new
Array('images/northcampus/IMG_0587.JPG','images/northcampus/IMG_0593.JPG','images/northca mpus/IMG_0596.JPG','images/northcampus/IMG_0620.JPG','images/northcampus/IMG_0625.JPG');
// delay in milliseconds between image swaps 1000 = 1 second
var delay = 5000;
var counter = 0;
function preloadImgs(){
for(var i=0;i<imgs.length;i++){
MM_preloadImages(imgs
function randomImages(){
if(counter == (imgs.length)){
counter = 0;
MM_swapImage('rotator', '', imgs[counter++]);
setTimeout('randomImages()', delay);
//-->
</SCRIPT>
When I create a new htmlpage & attach the template, the
new page has extra code in my script! The last function turns out
like this:
function randomImages(){
if(counter == (imgs.length)){
counter = 0;
MM_swapImage('rotator', '', imgs[counter++]imgs);
function randomImages(){
if(counter == (imgs.length)){
counter = 0;
MM_swapImage('rotator', '', imgs[counter++]);
setTimeout('randomImages()', delay);
How can I stop this from happening? It breaks my new page
every time!
Thanks for any ideas,
nickiUpload the template file and post a link to it, please.
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
==================
"akmagnolia" <[email protected]> wrote in
message
news:[email protected]...
>I have a Dreamweaver template with this script:
>
>
> -----------------------
> <SCRIPT type="text/javascript">
> <!--
> function MM_preloadImages() { //v3.0
> var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
> var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0;
> i<a.length;
> i++)
> if (a
.indexOf("#")!=0){ d.MM_p[j]=new Image;
> d.MM_p[j++].src=a;}}
> }
>
> function MM_swapImgRestore() { //v3.0
> var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++)
> x.src=x.oSrc;
> }
>
> function MM_findObj(n, d) { //v4.01
> var p,i,x; if(!d) d=document;
>
if((p=n.indexOf("?"))>0&&parent.frames.length) {
> d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
> if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++)
> x=d.forms[n];
>
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
> x=MM_findObj(n,d.layers
.document);
> if(!x && d.getElementById)
x=d.getElementById(n); return x;
> }
>
> function MM_swapImage() { //v3.0
> var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
Array;
> for(i=0;i<(a.length-2);i+=3)
> if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc)
> x.oSrc=x.src; x.src=a[i+2];}
> }
>
> // Comma separated list of images to rotate
> var imgs = new
>
Array('images/northcampus/IMG_0587.JPG','images/northcampus/IMG_0593.JPG','image
>
s/northcampus/IMG_0596.JPG','images/northcampus/IMG_0620.JPG','images/northcampu
> s/IMG_0625.JPG');
> // delay in milliseconds between image swaps 1000 = 1
second
> var delay = 5000;
> var counter = 0;
>
> function preloadImgs(){
> for(var i=0;i<imgs.length;i++){
> MM_preloadImages(imgs
> }
> }
>
> function randomImages(){
> if(counter == (imgs.length)){
> counter = 0;
> }
> MM_swapImage('rotator', '', imgs[counter++]);
> setTimeout('randomImages()', delay);
> }
> //-->
> </SCRIPT>
>
>
> ----------------------------------
>
> When I create a new htmlpage & attach the template,
the new page has extra
> code in my script! The last function turns out like
this:
>
>
> -------------------------------
> function randomImages(){
> if(counter == (imgs.length)){
> counter = 0;
> }
> MM_swapImage('rotator', '', imgs[counter++]imgs);
> }
> }
>
> function randomImages(){
> if(counter == (imgs.length)){
> counter = 0;
> }
> MM_swapImage('rotator', '', imgs[counter++]);
> setTimeout('randomImages()', delay);
> }
>
>
> --------------------------
>
> How can I stop this from happening? It breaks my new
page every time!
> Thanks for any ideas,
> nicki
>
> -
Need Help Reslicing Photoshop Site Layout to Update Dreamweaver Template
I created a website in adobe photoshop cs3 and sliced it up
to created an html file with sliced images. My main navigation menu
is made up of graphics.
I brought it into dreamweaver and created editable regions,
created rollovers etc. Then I created a dreamweaver template from
that to create the rest of the web pages for my site.
The client has come back to me and wants to add more menu
options to the site. This is where I'm stuck! When I use photoshop
to make more menu slices, it renumbers them. How do I export the
new slices with the new layout so I can use them to update my
dreamweaver template. How can I get those new slices/html layout to
the dreamweaver template without losing all the work I have done on
my current dreamweaver template?
issuenite> Why does photohshop even provided a slicing feature if
it does not provide
> good code?
The slicing is not the problem. It's the export as HTML that
is the
problem. And you'd have to ask Adobe that question if you
want an answer.
We are all just volunteer peers here.
> What is better about Fireworks? I have the program but
have never used
> it.
FW HTML is no better.
http://www.adobe.com/devnet/fireworks/articles/why_fireworks.html
At any rate, read this -
http://apptools.com/rants/spans.php
- and then look
at your code and count colspan, and rowspan attributes.
Unfortunately, the
only way to avoid this mess is to learn enough HTML/CSS that
you can build
your own tables in DW, and do it in such a way that you don't
rely on
merging and splitting cells (which is what generates those
colspan and
rowspan attributes).
Again, unfortunately, you are REALLY stuck in a bad
situation. Since you
have a) used a completely graphic menu button array, and b)
used a graphic
background behind the menu buttons, and c) chosen to embed
that graphic
background in each sliced button, you cannot add new buttons
without
remaking the entire menu. You will only make that mistake
once. I never
start building menus until I have an approved site plan in
hand. By the
way, that's a nice looking layout.
I don't see any clear path to salvation here. Since you are
absolutely tied
to PS for exporting the HTML and slices, you will have to
recreate
everything, I believe.
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
==================
"issuenite" <[email protected]> wrote in
message
news:[email protected]...
> >That's a very bad start. This HTML is *not* suitable
for production use.
>
> Why does photohshop even provided a slicing feature if
it does not provide
> good code?
>
>
> > If you used FW to create the graphics, and DW to
build the page and
> > write
> > the HTML, you wouldn't be having this problem.
However, if you post a
> > link
> > to the page, we will likely be able to help you.
>
>
> What is better about Fireworks? I have the program but
have never used
> it.
>
> The site is in its infancy at www.kevinkipfer.com
>
> thanks
> issuenite
> -
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.
Maybe you are looking for
-
Header problem with photosmart 8180 when printing with company letterhead
I print many letters through MS Word 2003. When I print a letter on plain paper, it looks fine and is the correct distance (1 1/2") from the top of the page(s). Our letterhead consists of a 1" dark band with our logo included and our address across
-
My father has owned his iphone for almost exactly 9 months. The phone was purchased in the US when he was on holiday. We live in Barbados, but the phone should still be under warranty. (please correct me if I'm wrong). He says the phone will not boot
-
Navigations Between View in Webdynpro ABAP
Is there any other ways to navigate between Views Other than Using the Out bond and In bond Plugs...? And one more While reusing the Views from one WDP1 in WDP2... For example : Take WDP1 it has got 10 Views I want to reuse the 8th view in WDP2 ho
-
Canon 9950F scanner - required drivers and sw for iMac Mountain Lions
how can I connect my Canon scanner ( model 9950F ) to my new iMac ?
-
Best way to do a dropdown menu?
i've been exploring using a spry tooltip and collapsible panel, not sure what is best and easiest to have a vertical dropdown menu that opens when your mouse runs over a tab and closes when your mouse goes off the tab, but remains open while you are