View Full Version : DWweaver CS4 Mac - Firefox behaves like notepad - Safari wants me to open a page on Finder myself

06-01-2010, 09:28 PM
Guys, i am building my personal website to show off my resume to the world. Need to look for a job in CG field somewhere out there...

This Dreamweaver thingy is making me crazy with strange problems. Using CS4 for Mac.

First, i have built a simple navigation bar with JPEG buttons. Off course, i need to link each of those buttons to another page that represent that particular sub section in my website. But, when previewed on Safari, when clicked, these buttons would just open Finder window and point to that ASP file, it is like the system tells me to open that page my self!!! THIS IS STRANGE!!!! DONT KNOW WHAT TO DO!

Second, when previewed on Firefox, the browser would just show the code. It acts just like a notepad, not like a browser. I have no idea why this is happening.

Third, Dreamweaver doesnt give me an option to create a HTML page. I want it simple, I dont need to do it using ASP. Is this the cause of these stupid problems?

thanks in advance

06-02-2010, 01:21 AM
sounds like a faulty dreamweaver if you cant create html pages not asp. for the rest we would need to see the code to get a better view of the problem

06-02-2010, 04:18 AM
are you sure you are in Bali??? it is such a big surprise to get a reply from someone who lives there. i am going to bali between june 10 to 15 for a photoshoot; i am a photographer, live in jakarta for now.


is there a way to send you the code for this troubled project of mine? i really need help... thanks

06-02-2010, 04:44 AM
i certainly am i was wondering when i saw your name.
you can post your code here just go to advanced and put in code (#) tags

06-02-2010, 04:50 AM
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style type="text/css">
body {
background-image: url(../Images/BG_Blue.jpg);
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

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[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

<body onload="MM_preloadImages('../Buttons/Btn_Main_CG_rolled.jpg','../Buttons/Btn_Main_Photography_rolled.jpg','../Buttons/Btn_Main_Resume_rolled.jpg','../Buttons/Btn_Main_AboutMe_rolled.jpg')">
<table width="1200" border="0" align="center">
<td align="center"><p><img src="../Images/Banner_Top.jpg" width="1200" height="115" /></p>
<p><img src="../Buttons/Btn_Main_Bumper_1.jpg" alt="Btn_Main_Bumper_1" width="50" height="25" /><a href="../home.asp"><img src="../Buttons/Btn_Main_Home_active.jpg" alt="Btn_Main_Home" width="150" height="25" /></a><a href="../CG/CGGallery_TopPage.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Btn_Main_CG','','../Buttons/Btn_Main_CG_rolled.jpg',1)"><img src="../Buttons/Btn_Main_CG.jpg" alt="Btn_Main_CG" name="Btn_Main_CG" width="150" height="25" border="0" id="Btn_Main_CG" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Btn_Main_Photography','','../Buttons/Btn_Main_Photography_rolled.jpg',1)"><img src="../Buttons/Btn_Main_Photography.jpg" alt="Btn_Main_Photography" name="Btn_Main_Photography" width="150" height="25" border="0" id="Btn_Main_Photography" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Btn_Main_Resume','','../Buttons/Btn_Main_Resume_rolled.jpg',1)"><img src="../Buttons/Btn_Main_Resume.jpg" alt="Btn_Main_Resume" name="Btn_Main_Resume" width="150" height="25" border="0" id="Btn_Main_Resume" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Btn_Main_AboutMe','','../Buttons/Btn_Main_AboutMe_rolled.jpg',1)"><img src="../Buttons/Btn_Main_AboutMe.jpg" alt="Btn_Main_AboutMe" name="Btn_Main_AboutMe" width="150" height="25" border="0" id="Btn_Main_AboutMe" /></a><img src="../Buttons/Btn_Main_Bumper_2.jpg" alt="Btn_Main_Bumper_2" width="399" height="25" /></p>
<p><br />

06-02-2010, 04:54 AM
I posted the same question over Luxology forum ( i am a Modo user too ), and people have helped me there. It turned out that when I created the template, I didnt pay attention to the options, I just used the default setting.

So I restarted it, creating it anew. This time, i created a template for HTML, not for javascript ASP or whatever.

But, when I previewed that code using Safari, ( it is the code for the template, not a page created based on the template ) , then clicked the "Home" button, Safari would tell my computer to open "Finder"; So a Finder window would pop up with the linked file highlighted. Ready to be clicked open to a new Safari window.

I dont understand.

06-02-2010, 04:57 AM
well i skip the lectures about using tables for layout but will advise you look at css for cross browser suitability.
as for your page names re name then to have extension .html or htm. the .ASP will require a server to show them , why DW is doing that i dont know but when you go new page make sure html is selected

06-02-2010, 04:58 AM
ah crossed post there

06-02-2010, 05:39 AM
okay. thanks sir. that solved my problem.

i am curious about this, hope you dont mind. do you live in bali as a web developer? or do you have any other job to do?

i have a plan to leave indonesia to look for a job in computer graphics related field, because i think people here dont appreciate my talent. so, seeing a foreigner living in indonesia and leading a forum for dreamweaver, got me by surprise.

i spent 4 days in mid may with a couple of friends who came to visit bali, and they are from rotterdam. one of them would leave netherland sometime next year because she is "over educated" and she said it would be hard to look for a job ( 2 PhD degrees in her belt ).

in short, i am just soooo surprised to know that your are in bali, and still doing web development. it seems to me you are having fun with your life. amazing.

06-02-2010, 05:56 AM
well actually my main business is employment and business consulting in Bali, the web bit is part of it bit mostly because i want to do it, villa rental and management is really the province of my wife who i work together with (she is Dutch BTW)
i understand the not being appreciated complaint living in Bali is part of a life choice not empire building for most. I do find employment for expats usually at the rate of 1 a month average, but a lot depends on expectations of salary and to some extent conditions, The most common placement for me is General managers in the hospitality , business although not uniquely, go to my profile and email me if you think i can help and i will send you a link to my mail site, for employment , marketing visas etc.