HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 20th, 2000, 02:16 PM
Atirez Atirez is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 8 Atirez User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have heard that with if you have a server that doesnt support CGI etc you can use javascript to embed a JS file into a html document which is written on another server through cgi giving you on the fly html pages on a basic free server.

I think it has something to do with document.write but im not to sure about it all could some one shed some light in the subject.
Just to clarify i want to write a JS file to be linked to a HTML document and content to be printed onto the page. Then i would be able to use CGI from a different server to write news etc directly from the web

And....

I have seen some websites that have changed the colour of the scrolling bar in IE, i was just wondering if that was done in JS if so how cos i cant see a way to do it, then again i only have a basic knowledge of JS and can only just turn scroll bars off javascript opened windows .

Thanx in advance..
<html>
<body>
<embed src="http://www.ultimawin2k.f2s.com/assets/atirez.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="480" height="100">
</embed>
</body>
</html>


------------------
: bazstard@yahoo.com :
: [Insert witty comment] :

[This message has been edited by Atirez (edited November 20, 2000).]

Reply With Quote
  #2  
Old November 20th, 2000, 02:19 PM
Atirez Atirez is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 8 Atirez User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
OK and how do you turn HTML on in this forum???

------------------
: bazstard@yahoo.com :
: [Insert witty comment] :

Reply With Quote
  #3  
Old November 21st, 2000, 04:41 AM
stardotstar stardotstar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 63 stardotstar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Quick answers: I don't think including js files has anything to do with CGI. You can't turn on HTML in this forum - it's up to the moderator (but I could be wrong on both).

Long answer: For colouring the scrollbars, the following examples only work in IE5.5 (maybe NS6 - I haven't got it yet).

Using CSS:<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
BODY{
SCROLLBAR-FACE-COLOR: vColor
SCROLLBAR-ARROW-COLOR: vColor
SCROLLBAR-SHADOW-COLOR: vColor
SCROLLBAR-DARKSHADOW-COLOR: vColor
SCROLLBAR-3DLIGHT-COLOR: vColor
SCROLLBAR-HIGHLIGHT-COLOR: vColor
SCROLLBAR-TRACK-COLOR: vColor
}
[/code]
Using javascript:<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
object.style.scrollbarBaseColor = vColor;
object.style.scrollbarArrowColor = vColor;
object.style.scrollbarDarkShadowColor = vColor;
object.style.scrollbar3dLightColor = vColor;
[/code]
*where vColor is a color name or an RGB value.*

I'm not sure those are all the possibilities (there are probably more options for JavaScript), but they should get you started.

____________________
Argh why no preview?

[This message has been edited by stardotstar (edited November 21, 2000).]

Reply With Quote
  #4  
Old November 21st, 2000, 05:10 AM
Atirez Atirez is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 8 Atirez User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanx for the help on the scroll bars.

But the CGI JS bit, what i am trying to do is use CGI on another server too write a JS file which can then be used on another server which doesnt use CGI.

ie the cgi script writes a JS file as follows:

<!--
document.write("--any text here--");
//-->

which can then be placed into the code of my html document with

<script language="JavaScript" src="blah.JS"></script>

which should then show the text ---any text here--

I was trying to do this so i could have something like newspro working on a non cgi server compatible website. For all those free hosts.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > A little question


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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT