IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Webmastering And Html Articles, Tips & Tricks, You can contribute articles to SAF!!
phzzz
post Apr 10 2007, 08:52 AM
Post #1


Phzzz izzz a Nugatory and Totally Insignificant Peon


Group: Administrator
Posts: 374
Joined: 3-December 06
From: Tharsis Ridge (Martian Lowlands)
Member No.: 17,429



Hi,

In the beginning days of SAF, around 7 years ago, we used to have a forum dedicated to Webmastering and HTML Articles/Tutorials. That 'era' has come and gone now. But I've decided to sort of 'revitalize' it again.

So, from time to time I'll be contributing a few articles for inclusion here at SAF. I also encourage others who are versed in Webmastering and HTML to do the same.

To start this off, here's one (quite popular based on page hits at my site)...

How to stream music or audio from your website

Here's another (this code has been asked for numerous times, so I'm providing it here)...

How to create an Automated Jukebox

And here's one more...

Tips on Winning the SE Wars

And another...

Web safe hexadecimal colors for use in HTML code within web pages


As I indicated above, I also encourage others who are versed in Webmastering and HTML to submit/provide articles/tutorials for inclusion at SAF. Don't concern yourself with formatting your submissions to include the current SAF site layout and design. I'll take care of that for you. You will also be given full credit for your submission(s).

Please post your submission(s) within your replies in this thread.

Take care!
Tom


--------------------
Please Help Ana IPB ImageOneAna.comIPB Image Please Help Ana

[ Jukebox | The Swap Hub! | My Resume | Wacky Videos | Prunella Puzzle! | Virtual Chess | Composite Sketch | LINE RIDER! ]

Please don't email or PM me for help/support. Instead, either start a NEW TOPIC or post a REPLY in the appropriate thread in these forums. This will also benefit others who may have a similar question or problem.
But before posting, please first Login and then Search the forums. Your question(s) may have already been answered.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
phzzz
post Apr 14 2007, 01:13 AM
Post #2


Phzzz izzz a Nugatory and Totally Insignificant Peon


Group: Administrator
Posts: 374
Joined: 3-December 06
From: Tharsis Ridge (Martian Lowlands)
Member No.: 17,429



Hi...

OK. Here is a
picture of me...
Or is it???
A picture of me. What's so special about it?

LOOKS LIKE ME... BUT IS IT?

I will tell you right now that the name of the image that you see above is in fact, phzzz.gif, and does in fact exist as that filename.

But... right-click on the above image now, and either view it's properties, or attempt to save the image as.... HUH??? WHAT??? Why the heck does it reveal itself as a blank image when right-clicked on and viewed or saved? Why does it want to be saved with a different filename - phzzz-fakeout.gif??

OK. This is what can be referred to as a TABLE Transparency Fakeout. Please click the below link now for a fully detailed explanation/tutorial on why this is happening and how you can accomplish the same thing for your own image(s)...

This is one of the 'original' articles, rewritten to include the current SAF site layout and design...

Stopping site visitors from stealing your images

Take care!
Tom
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Angoid
post Dec 19 2007, 04:15 PM
Post #3


Extradisambiguator and Bogus Book


Group: SAF Moderator
Posts: 3,363
Joined: 27-March 03
From: Where I stand
Member No.: 3,558



Get rid of the annoying Security Information bar in Internet Explorer

When developing Web pages at home, I'll often get that highly annoying "To protect your security...." yellow information bar come up when testing pages that contain active content such as JavaScript.

For example, copy and paste the contents of this code box into a Notepad session and save it to your Desktop with a name such as "test.htm" (and be sure to change the file type from .txt to All Files *.*):
CODE
<?xml version="1.0" ?>
<!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" xml:lang="en">
<head>
<title>osjasoajosa</title>
</head>
<body>
<script type="text/javascript" language="javascript">
<!--
document.writeln("JavaScript on");
-->
</script>
<noscript>
<a href="www.google.com">Google</a>
</noscript>
</body>
</html>


When you run it in IE by double-clicking on it, you'll see what I mean (unless you've turned the option off in the Options).

If this is annoying to you, then all you have to do is add a comment into the header section that tells IE that the page has been downloaded off the web:

CODE
<!-- saved from url=(0022)http://www.domain.com/ -->


Thus the page looks like this:

CODE
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0022)http://www.domain.com/ -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>osjasoajosa</title>
</head>
<body>
<script type="text/javascript" language="javascript">
<!--
document.writeln("JavaScript on");
-->
</script>
<noscript>
<a href="www.google.com">Google</a>
</noscript>
</body>
</html>


and when you run that, Voila!!!! No more annoying Information bar. The "(0022)" is the length of the URL, as "http://www.domain.com/" is 22 characters long.

There is another way, and that's to upload it to the web and run it using its URL. I know - IE clearly thinks that you're more likely to compromise your own security by running Web pages you've created yourself and have stored locally than you are by running them from the Web smile.gif

The title is just any old rubbish my fingers landed on - it's not code for anything biggrin.gif


--------------------
Please post your HijackThis logs in the Malicious Code forum!!!; we do not offer one-on-one support via PM or email.
It's OK to be silly sometimes, I suppose - my mother-in-law
If you don't know what eschatology is then don't worry; it's not the end of the world.
If you can, please help Ana
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LF from MC
post Dec 19 2007, 04:29 PM
Post #4





Group: SAF Moderator
Posts: 14,676
Joined: 22-February 03
From: Michigan
Member No.: 3,388



I hated that thing wacko.gif so I turned it off. yes.gif


--------------------
Ana needs our help

To all Members and Guest!!
We have a 'Members' Lounge' and a 'Lounge Game' inside there, so come on in, and have a look around, and when you have the spare time, please join in.


Also, check out the Pinned Topics at the top. Show & Tell Pictures, YouTube Videos, & other links.

Coppermine ~ My Website ~ Home Page ~ Help for your Garden
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
phzzz
post Dec 19 2007, 05:48 PM
Post #5


Phzzz izzz a Nugatory and Totally Insignificant Peon


Group: Administrator
Posts: 374
Joined: 3-December 06
From: Tharsis Ridge (Martian Lowlands)
Member No.: 17,429



Wow Angus! That's a really great tip/trick! thumb up.gif

So, guys/gals...

Do you think that maybe we should move this to the Webmastering and HTML Articles, Tips & Tricks sticky thread and keep it there as a great tip/trick?



--------------------
Please Help Ana IPB ImageOneAna.comIPB Image Please Help Ana

[ Jukebox | The Swap Hub! | My Resume | Wacky Videos | Prunella Puzzle! | Virtual Chess | Composite Sketch | LINE RIDER! ]

Please don't email or PM me for help/support. Instead, either start a NEW TOPIC or post a REPLY in the appropriate thread in these forums. This will also benefit others who may have a similar question or problem.
But before posting, please first Login and then Search the forums. Your question(s) may have already been answered.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Angoid
post Dec 20 2007, 05:31 AM
Post #6


Extradisambiguator and Bogus Book


Group: SAF Moderator
Posts: 3,363
Joined: 27-March 03
From: Where I stand
Member No.: 3,558



Go for it, Tom thumb up.gif

I ran across it while working on a Web page, and I want to write a PHP function that will output HTML/JavaScript, and want to get the code right before I end up writing a PHP script that generates rubbish DHTML. So I created this minimal example and brought it here in the hope that some folk might find it useful smile.gif


--------------------
Please post your HijackThis logs in the Malicious Code forum!!!; we do not offer one-on-one support via PM or email.
It's OK to be silly sometimes, I suppose - my mother-in-law
If you don't know what eschatology is then don't worry; it's not the end of the world.
If you can, please help Ana
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
phzzz
post Dec 20 2007, 05:46 PM
Post #7


Phzzz izzz a Nugatory and Totally Insignificant Peon


Group: Administrator
Posts: 374
Joined: 3-December 06
From: Tharsis Ridge (Martian Lowlands)
Member No.: 17,429



QUOTE(Angoid @ Dec 20 2007, 07:31 AM) *
Go for it, Tom thumb up.gif
Done! thumb up.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi VersionTime is now: 3rd September 2010 - 07:47 AM