JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 2nd, 2003, 01:27 PM
cocopook cocopook is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 3 cocopook User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question pasting javascript in grayed out region??

I'm trying to use the great daily tip generator I found on devscripts.com, but when I went to paste it into my code I was unable to edit the <head> region - it's all grayed out. And the instructions said to paste another section of code in between the body tags --same deal; all gray and it won't let me paste.

I tried just pasting it elsewhere, but got a runtime error when I previewed it.

I am using Dreamweaver, if that can give anyone any ideas on how to help me get this to work.

I guess you can tell I'm new to this - any help is appreciated :-)

Reply With Quote
  #2  
Old April 2nd, 2003, 07:51 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Posts: 2,056 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 44 m 22 sec
Reputation Power: 0
Greyed out? You need to paste the code they give you into your source code. Not sure how your source document can be greyed out?

Reply With Quote
  #3  
Old April 3rd, 2003, 08:52 AM
cocopook cocopook is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 3 cocopook User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well, it's a template - a cascading style sheet, so I think that might be why it's an uneditable region. I don't know how to edit the template w/o changing the entire site.

I've been able to paste other javascripts into the pages, but since this one calls for it to be in specific places I can't get it to work. Does that help? I really want to get this to work - any suggestions?

Reply With Quote
  #4  
Old April 3rd, 2003, 06:05 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Posts: 2,056 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 44 m 22 sec
Reputation Power: 0
Just open the file in a plain text editor, and drop in the code that way.

Reply With Quote
  #5  
Old April 4th, 2003, 12:36 PM
cocopook cocopook is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 3 cocopook User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well, thank you for your help -- that worked, but the code didn't. Or rather, how *I* used the code didn't - probably more accurate!

I got that runtime error, and frankly, I give up! But thanks for the tip about opening it in a text file - I will definitely use that in the future!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > pasting javascript in grayed out region??


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap