Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > I REALLY need your help

I REALLY need your help
Thread Tools
Senior User
Join Date: Apr 1999
Location: Bow, NH USA
Status: Offline
Reply With Quote
Jun 18, 2001, 01:53 PM
 
Ok, seriously people, I love Adobe GoLive and have been using it for a while now. I can do a lot more things with it than I ever could with BBEdit...but...

The javascript it writes for Floting Boxes will NOT work with any browser other than IE for Mac 9.x.

I want to use javascripts on http://www.macnet2.com but how can I? I can't write the code myself so i depend on the application to do it for me.

Can someone explain why GoLive doesn't write standard javascript and can someone tell me what I can do, if anything, to make GoLive javascript work with OmniWeb. I don't really care about Netscape since it doesn't even support PNG format (which is incredible)..

If you can help or offer advice please email me at john@manzione.com. In the meantime I have removed the floating box javascript from MacNETv2 and put up a newer design. Take a look and let me know if you can help.

thanks, I mean it

Kos


http://www.macnet2.com
     
Mac Enthusiast
Join Date: Nov 2000
Status: Offline
Reply With Quote
Jun 18, 2001, 02:53 PM
 
Kosmo...

I own a web design business and do it for a living. Why don't you post the code in question on an isolated page on your server. Then post the link here.

I'll take a look at it and see what I can come up with.
     
Kosmo  (op)
Senior User
Join Date: Apr 1999
Location: Bow, NH USA
Status: Offline
Reply With Quote
Jun 18, 2001, 03:33 PM
 
Hobbes, Thanks!
http://www.macnet2.com/java.html

Any help would be appreciated.


http://www.macnet2.com
     
Mac Elite
Join Date: Sep 2000
Location: Eagan, MN
Status: Offline
Reply With Quote
Jun 18, 2001, 06:56 PM
 
I took a quick look at the code and it is setup to work in Netscape. I tested the page with all my Windows browsers, and here's what worked in each:

Internet Explorer 5: PNG transparency shows fine, but the areas
behind them appear grey. Javascript works fine.

Netscape 4.7: PNG transparency does not show. Javascript works fine.

Netscape 6.0: PNG transparency shows fine. Javascript does not work.
     
Senior User
Join Date: Mar 2001
Location: Sitting in front of computer
Status: Offline
Reply With Quote
Jun 18, 2001, 08:48 PM
 
Originally posted by Kosmo:
<STRONG>Hobbes, Thanks!
http://www.macnet2.com/java.html

Any help would be appreciated.</STRONG>
Why not just render the text and do an image swap? That's what I did in this site that I did a very long time ago, http://www.pubsetsf.com/
     
Kosmo  (op)
Senior User
Join Date: Apr 1999
Location: Bow, NH USA
Status: Offline
Reply With Quote
Jun 19, 2001, 05:27 AM
 
I probably will do an image swap, but this GoLive is supposed to write killer code and it is faster to use floating boxes with 'actions' then to render out the text and create more bitmap images.

You try to push the envelope with web techniques and what do you get? "This site works only with "blank" browser."

And Microsoft supports it best? What the hell is up with that?

Maybe Adobe support will have some answers

I guess I could build the home page with Flash and warn people that the site can only be accessed with IE at this point. Hell, 87% of users use IE anyway...I can't believe Netscape just gave up, they were King f the World once you know..we used to laugh at Microsoft, we really did.[/LIST]


http://www.macnet2.com
     
Mac Enthusiast
Join Date: Jan 2001
Location: Most probably sitting down, London, European Union
Status: Offline
Reply With Quote
Jun 19, 2001, 11:58 AM
 
Originally posted by Kosmo:
<STRONG>You try to push the envelope with web techniques and what do you get? "This site works only with "blank" browser."

And Microsoft supports it best? What the hell is up with that?</STRONG>
Um, this is the story of web development, the harder you push the more you break. Browsers are buggy, all of them, don't expect that to change.

In fact, I heard something along the lines that Omni are building OmniWeb so that it emulates the *bugs* in other browsers for greater consistency!
     
Mac Elite
Join Date: Mar 2001
Status: Offline
Reply With Quote
Jun 19, 2001, 05:35 PM
 
1. go to http://raman-sinha.com/coastaldev/index.html
2. right click (or option-click) on the middle portion of the screen
3. choose "view source" or simlar
4. save the code to your hard drive
5. read the code
6. understand the code
7. write your own code

Seriously, the best way to learn is to see how other's do it. GoLive (and Dreamweaver as well as UltraDev) is for designers that dont' want to or don't have the time to learn how to code.

Once you realize that you want to change something or realize that you don't need hand-holding anymore, there are a ton of people and websites that are waiting to help you learn to code, or better yet, understand the language.

Or if you're too lazy then let me know and I'll write the code for you and explain it so you can do it next time. Free (I usually charge $175/hour but since you're a Macuser I'll cut you a break).

-Raman
     
Mac Enthusiast
Join Date: Nov 2000
Status: Offline
Reply With Quote
Jun 19, 2001, 05:54 PM
 
Kosmo...

Haven't had a lot of time to look at the code in detail, but a quick exam with BBEdit did turn up a few errors, actually around 80 or so. Most of them had to do with the JavaScript, including that the script type was not defined, and most of the other errors were in regard to csaction.

Just a tip... I wouldn't use OmniWeb as an accurate judge of whether the JavaScript is sound or not. OmniWeb is known for not displaying JS properly. Even though you may not be targeting it, I would try to get it working in some flavor of NS in addition to IE.
     
Mac Enthusiast
Join Date: Nov 2000
Status: Offline
Reply With Quote
Jun 20, 2001, 06:25 AM
 
Kosmo...

I also check the code in Mozilla. It only reported about 8 or so errors, mostly dealing with curDoc.layers.
     
Kosmo  (op)
Senior User
Join Date: Apr 1999
Location: Bow, NH USA
Status: Offline
Reply With Quote
Jun 22, 2001, 06:05 AM
 
I can hardly believe this, but I have been tweaking the code myself, just staring at it for hours on end and finding things you are pointing out and seeing things in other sites that seem to work and adopting it, I will be putting up a new home page later today that might work better.

I just don't understand why GoLive and Dreamweaver would be so good with developers and cost a lot but write code aimed at only one browser?

IE won the browser war, that's for sure, but javascript standards should be set in stone and all browsers should adopt it. It used to be easy to design sites with BBEdit 4 and PhotoShop 4, now it's a nightmare getting things to work with anything other than IE.

Why are there no standards, or why are the standards not working


http://www.macnet2.com
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:35 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2