Saint_Michael
Jul 10 2005, 09:38 AM
WEll its been awhile since i did so i will put up some more useful html tips and tricks here on trap17.com Ok for trick actually, want to know how some websites got those ool icons put on their website link in the favorites folder well here you go in 3 quick steps. 1. create an image then shrink it down to 16x16 and save it as avicon .bmp. 2. then change it to .ico, when is the file reconizing it as a icon., if you are having problems saving it, there are some resources out there that can change it for you. 3. load the image to your website and add this tag in between your <head> tags QUOTE <link rel="shortcut icon" href="favicon.ico">
that should be it now your icon will be in someones favorite folder and in the url bar on ie or firefox or whatever you use. next tip is for those text tool tips or just floating text tell what its about. well anyways someone posted that they wanted a way to show a foot note on text , it was posted how to do it but i found a easier way to do it without the use of the href in the <a> (ancor tag) this could be greatly used and saves some room on your files by doing what i posted about it dhtml and or javascript QUOTE <A TITLE="Here is the text!">Put your mouse cursor on me to see the tool tip !</A> mind you its a second or two for a delay but it works. for my next trick  . this tip is those who do chracter shrines or bio pages, which have a small amout of content this is embedding trick inwhich you load a page with in a page which means you can customize the scrollbars and other cool css tricks QUOTE <object data=http://www.webistehere.com width="600" height="400"> <embed src=http://www.websitehere.com width="600" height="400"> </embed> Error: Embedded data could not be displayed. </object>
this next one is more javascript but its a little useful, this next trick is used for image gallaries and or stories people write about or you can use it for quizes and stuff like that. its your basic back and forward button. QUOTE <FORM METHOD="post"> <INPUT TYPE="button" VALUE="BACK" OnClick="history.go( -1 );return true;"> <INPUT TYPE="button" VALUE="FORWARD" OnClick="history.go( 1 );return true;"> </FORM> well thats it for today hoepfully some of these will be put into good use. also check out my design i used for fsa at www.xcitem.com PEACE!!!
Reply
snlildude87
Jul 10 2005, 02:56 PM
Instead of using JavaScript to go back a step in history, you could also use PHP: CODE <a href="<?php echo $_SERVER["HTTP_REFERER"]; ?>">Go back</a>
It's much easier; there are no forms; and it's always works regardless of whether the user has JavaScript enabled or not. Of course, that will only work with hosts with PHP support such as trap17. Edit: Fixed my own BBCode
Reply
clagnol
Jul 10 2005, 08:42 PM
QUOTE(Saint_Michael @ Jul 10 2005, 04:38 AM) 1. create an image then shrink it down to 16x16 and save it as avicon .bmp. This has been discussed on the Trap17 fora before. Using this method does not create a valid icon file. It may work, but you will have much more control over your icon image if you use the authentic icon format [such as including transparency].
Reply
Tyssen
Jul 10 2005, 10:48 PM
QUOTE(clagnol @ Jul 11 2005, 06:42 AM) This has been discussed on the Trap17 fora before. Using this method does not create a valid icon file. It may work, but you will have much more control over your icon image if you use the authentic icon format [such as including transparency]. You can use this site to create a favicon from any image.
Reply
beeseven
Jul 12 2005, 07:50 PM
Favicons usually work if you just have a file called "favicon.ico" in the public_html directory, you don't need the tag for it. Also, snlildude's method for a back button only works if the user has referrers enabled, otherwise, it makes a link to "".
Reply
GM-University
Jul 13 2005, 08:25 PM
Nice tutorial, I had forgotten how to do that favicon thing, you can also do the rollover thing when you do the text thing like this... Put this right under </body> CODE <div id="dhtmltooltip"></div> <script type="text/javascript">
var offsetxpoint=-60 //Customize x offset of tooltip var offsetypoint=20 //Customize y offset of tooltip var ie=document.all var ns6=document.getElementById && !document.all var enabletip=false if (ie||ns6) var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
function ietruebody(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body }
function ddrivetip(thetext, thecolor, thewidth){ if (ns6||ie){ if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px" if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor tipobj.innerHTML=thetext enabletip=true return false } }
function positiontip(e){ if (enabletip){ var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft; var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop; //Find out how close the mouse is to the corner of the window var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20 var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
//if the horizontal distance isn't enough to accomodate the width of the context menu if (rightedge<tipobj.offsetWidth) //move the horizontal position of the menu to the left by it's width tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px" else if (curX<leftedge) tipobj.style.left="5px" else //position the horizontal position of the menu where the mouse is positioned tipobj.style.left=curX+offsetxpoint+"px"
//same concept with the vertical position if (bottomedge<tipobj.offsetHeight) tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px" else tipobj.style.top=curY+offsetypoint+"px" tipobj.style.visibility="visible" } }
function hideddrivetip(){ if (ns6||ie){ enabletip=false tipobj.style.visibility="hidden" tipobj.style.left="-1000px" tipobj.style.backgroundColor='' tipobj.style.width='' } }
document.onmousemove=positiontip
</script> Put this with your CSS <style> tag, or .css file. CODE #dhtmltooltip { position: absolute; width: 150px; border: 1px solid #C1C1C1; padding: 2px; background-color: #EFEFEF; color: #000000; visibility: hidden; z-index: 100; filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135); } And put this in your link CODE onMouseover="ddrivetip('Your tooltip text','black', 300)"; onMouseout="hideddrivetip()" A link example would be CODE <a href="http://www.trap17.com/forums/saint-michaels-html-tips-tricks-4-t24328.html"onMouseover="ddrivetip('Your text here','red', 300)"; onMouseout="hideddrivetip()">Text Here</a>
Reply
GM-University
Jul 13 2005, 08:27 PM
QUOTE(GM-University @ Jul 13 2005, 03:25 PM) ......you can also do the rollover thing when you do the text thing like this... Put this right under </body>..... That should have been <body>, not </body>
Reply
sonyguy
Jul 17 2005, 06:39 PM
These are really good, I like the first one about the icon, I always wondred about that! Thanks!
Reply
sachavdk
Jul 18 2005, 07:58 PM
Here's also a good program for creating icons form bitmaps, gifs,... and it even supports psd. You can also create avi files from animated gifs and series of icons (ie 8bit, 24bit, 32bit(24bit/8bit alphatransparancy), 48*48,32*32,24*24,16*16)... http://www.gamani.com/Unfortunately its not free but you can use a non-limited edition for 30 days. And it's also not to expensive to buy ($39.95) (when you've seen its possibilities you know why  ) PS: there are also older versions available for download. Check that you download version 4.0.2 (4.0)
Reply
Dragonfly
Jul 18 2005, 09:08 PM
Nice tutorial on the back button. Thanks for sharing, I think people start to hate keep hitting on the back button from the browser top page, but they want to hit where they just finished reading the content. So, this function is becoming more and more important. For favicon I just saved first as png file and then change the extension file as ico it works this way too. And like some have said without link also if we place it in public_html folder it still works. And xcitem dot com site cannot open. It says time out. I think the server is down for now. I'll see next time.
Reply
Saint_Michael
Jul 25 2005, 05:52 AM
no problem as here to help out, might do another one later on.
Reply
strawberrie
Jul 25 2005, 02:05 AM
Thanks for the quick HTML tips, Saint_Michael! I'm sure they'll be very useful to a lot of webmasters/mistresses XD out there... @Tyssen: The site you provided is really helpful in creating favicons! Thanks~
Reply
Recent Queries:--
how to mention thewidth and height to firefox document - 490.42 hr back. (3)
Similar Topics
Keywords : saint michaels html tips tricks awhile stuff- Tips On How To Recover You Scammed Rs Account
- Would you like to recover your stolen rapidshare account? (0)
- Add Flashing Inbox To Invisionfree Forum
- Html code for invsiionfree!! (2)
Do you find it annoying when you are on your invisionfree forum, and you get a new message, and it
ends up taking you 5 minutes to notice? This code makes the inbox link flash bold red saying how
many messages you have. In version 1 the word inbox stays the same, and doesnt change at all (for
Example this is flashing: Inbox (2) In version 2 (the second code) the word inbox changes to
messages (constantly, so that if you have none, it says messages (0) instead of inbox (0). It still
flashes Red Put the following In the Header and Body Section (Admin Cp>>>Skinning ...
Create Dynamic Html/php Pages Using Simple Vb.net Code
- Taking your application data, and creating a webpage for others to vie (1)
This example will show you how use a string in VB to create PHP code. In order to do this, you need
a string to store your PHP page and a function that I will list at the bottom of the page for you to
put in a module. This code is written in VB.NET Public Sub CreatePage(ByVal HTMLTitle As
String, ByVal HTMLText As String, ByVal HTMLFileName As String) Dim strFile As String '
---------------------- ' -- Prepare String -- ' ---------------------- strFile = "" '
-------------------- ' -- Write Starter -- ' -------------------- strFile = " " ...
How To Make A Decent Forum
- Some great tips on how to make and maintain a good forum (8)
-Firstly, come on, use a decent forum system. Visitors to forums hate advertisements. The best way
to guarantee no ads is to host it yourself. There’s loads of free web hosts out there- there’s loads
of free forum software, too. So, come on! It doesn’t take much energy to find a good host and
upload some files. I think the two best forum softwares to use are SMF(www.simplemachines.org) and
phpBB(www.phpbb.com). -Secondly, if anybody is actually reading the topic with the link to your
forum in, they must be dedicated to this one, and not many people are dedicated to ...
How To: Html Tables.
- I find these really useful. (8)
If you are a novice web designer, but want your site to look advanced and proffessional, then what
better way to do so than to use HTML tables? HTML tables are a really easy way of formatting your
text, to make your ste look proffesional. It looks good, and its easy, what more can you ask for?
You have to use the tag, so first lets start off with: HTML Table > /table > In
between theese two tags, we will add the data for the table, using the tags and . =Table
Heading (Title) =Table Data (what you want in the table) =table row (new row) So, lets ...
Creating Navigation For Html Websites
- Have a common navigation menu for the whole website! (12)
Pre-requisite: HTML, inline frame tags 1 Attachment(.zip) included. Updates : 29-12-07: Doctype
added in example files (Advised by jlhaslip) Designing a whole website takes a lot of planning
and organization. Designing a proper navigation system is a basic step in building your website. If
you are developing webpages in html you would have observed that as you go on creating pages it
becomes difficult to maintain the links to the pages. This article will guide you in developing a
common navigation menu for your website. It describes three ways, so if you don'...
Simple Scripts In Html And Javascript
- Things like BackgroundColorChanger and so (7)
like in the topic, here is a description how to change the Backgroundcolor "On The Fly", by klicking
on a button or radio-box first, we ned the html-and body-tags, create a new html-file on your
desktop and write the following: QUOTE <script language = "JAVASCRIPT">
browser interpretation: html - tag means "hey, browser, here comes HTML" in the body-tag you define
the looking of your site. you can add things like "bgcolor" for the background, "text" for the
textcolor and link / alink / hlink / vlink to define the linkcolor ( ) the scripttag i...
[php] Clean Code Functions
- Clean up your html output from php scripts (5)
There is another Topic about writing 'clean' HTML code posted elsewhere on the Forum.
I'll edit this Topic and add the link so you can review it on your own, and there is no need for
me to comment on it in this thread, but the purpose of this Topic is to introduce a pair of
functions which can be used for making sure that the HTML output from my scripts is readable when a
view-source is reviewed. Two handy functions are included here. They work together quite nicely,
and I will start this Tutorial with a short summary of the reasons for their 'being...
Html Legend
- Learn how to create a handy legend with HTML! (9)
I think this is pretty neat... good for those people who maybe aren't that great at designing
things but still want something to look nice.. CODE <fieldset> <legend>Legend
title</legend> Content </fieldset> try it in note pad.. it looks nice...good for
forums, sign up forms......
Cakephp On Ubuntu
- using your own public_html folder (0)
Hi, there are many tutorials about this, but i would like to type the steps i followed in order to
get cakephp working on my user public_html folder. as many of you probably know, if you have
apache's userdir module loaded, you can put your web pages on /home/user/public_html , and
access them with the url: http://localhost/~user/ . I really prefer this, so all my web pages are
on my personal home, but how to configure cakephp to work with these paths, i got a hard time with
this, but finally got it!. here's how: in case you don't have apache2's u...
Html Span
- (7)
HTML Span Description The span tag is quite the handy tag to have at your disposal. You can use
it for everything from Text Formating, to creating a scrollable text area. When combined with CSS it
becomes an easy-to-use tool for making your website as uniform as possible, as your not bogged down
with tags for every heading and title on your website. Try It Out CODE <html>
<body> <div class="content"> <span class="heading1"> Heading
or title goes here. </span><br><br> All the content insi...
Html Bdo...
- (13)
Description I find that it is often difficult to write a sentence backwards, but thanks to HTML, I
can now complete this task in only a few seconds. Now the only problem is it is very difficult to
read... Try It Out Welcome to one of the most useless functions of HTML. The tags enable you to
write a sentence backwards. The code is quite simple. CODE <bdo dir="rtl">I
find that it is often difficult to write a sentence backwards, but thanks to HTML, I can now
complete this task in only a few seconds. Now the only problem is it is very difficult to r...
Tricks With Php Variables
- (10)
You probably are thinking at this moment why I am posting some tricks with variables. Well, there
are many useful things a variable can do for us. For one they can actually be used to create simple
games. They also can be used to produce a random result in a page. Another great use is shoutboxes.
Well here are some cool variable effects. Adding Multiple Strings We can use strings to create
great effects. Example: CODE <?php $var1="Hello person.";
$var2=str_replace("person","world",$var1); echo $var1."
&...
Want-to-start Html Tutorials
- An HTML tutorial that covers the basics (2)
NOTE: Don't use a rich text editor* for writing HTML code! Use Notepad in Windows,
SimpleText in Mac or TextEdit in OSX, but you must set the following preferences for the HTML code
to work! In the Format menu, select Plain Text. Open the preferences window from the Text
Edit menu, then select "Ignore rich text commands in HTML files." Start Creating Your Own HTML
File You can either use HTM or HTML file extensions. For more information, visit:
http://filext.com/file-extension/htm for HTM or http://filext.com/file-extension/html for HT...
Create A Simple Html Editor With Php And Javascript
- (3)
Ok, I will teach you how to create a simple HTML editor that runs online with buttons that add HTML
tags. Before we start: You should have basic knowledge of these languages. HTML/XHTML
Javascript PHP You will need Ability to use filesystem functions. Chmodding abilities
Features of Editor Online PHP safe Full HTML support A Few Bad Features Can only create new
documents or overwrite Fairly unsafe Now we are ready to begin. The PHP Script This will be
our PHP script that we will use to make the file. Make a file called save.php Here is the...
Spice Up Your Forms
- With a bit of CSS and HTML alignment (11)
Ever wonder how to make those stylish forms you see everywhere? Well now it's your change to
learn. This short tutorial will show you how to do exactly that. Here is a bit of css to spice
up the form. I have included comments to explain what classes will change what in the forms.
CODE <style type='text/css'> .form table { background-color: #187cae; }
/*The following css class will change the table cells within the .form div */ .form td {
background-color: #bbe0f4; padding: 3px; border: 0px; ...
Creating A Resume
- 10 Tips For Making A Resume (1)
I've been working on my Resume for months now. Here is a summary of what I've learned: 1.
Avoid referring to yourself via 1st person or 3rd person terms. Rather than saying "I started this
job in" just say "Began job in"... Employers expect Resumes to be professional and avoid reference
to oneself; and instead speaking in an impersonal tone that presents
achievements/skills/experience/education without personalization. Avoid words like "I", "my", "he",
"she", etc. Leave out personal pronouns and only use the action words/verbs. This also includes
your Ob...
HTML tags and examples
- Condensed form of course from my site... (37)
Well, I decided to try and help out some of the users here who might be unexperienced in HTML, so I
condensed the begginer's HTML course at my website. Here it is... Lesson 1 HTML means Hyper
Text Markup Language. HTML is a very common language used for many websites, is the base for more
complicated and powerful langauges like php, HTML can seem hard, but you will find it is one of the
easiest langauges one can learn. The core of HTML is the tag, a tage is just a set of two
arrows-like brackets created by hitting Shift and the comma key, or Shift and the period...
Do You Want To Use Php Code In Your Html Pages?
- Within two minutes you will! (9)
Whilst searching around for help to setup cutenews blog I came across a way to use php in html pages
- lo and behold it works! so I thought I'd share it with you all (Unfortunately I can't
remember the site so I wrote this up a couple of minutes after I did it:) ). This method requires a
web server with apache installed. So, luckily for us all this covers the whole of Trap17... even
Qupis /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Just
to make the point, this is in no way a difficult task and it doesn't requir...
How To Make A Simple File Based Shoutbox Using Php And Html
- (8)
A simple tut to make a simple shoutbox. Let me jump right in. First of all you need the standard
equipment for PHP, an IDE like XAMPP and an editor like PHP EDITOR 2OO7. Were going to make a
simple guestbook using three files, webpage.php, shout.php and shout.txt. Webpage.php can be
changed to whatver you want, it will be the page on which the guestbok is shown, you could even use
this code and add it to another php page n your site. Shout.php is the proccessing page and
shout.txt is where the shouts are stored. Firstly we need to make the visual design of the box....
Document Type Declarations
- And why we use them in html pages (0)
This code: CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> <html> <head>
<title>HTML 4.0 Strict document</title> <meta
http-equiv="content-type" content="text/html;charset=utf-8" > <meta
http-equiv="Content-Style-Type" content="text/css" > </head>
<body> <p>... Your HTML content here ...</p> <p>... More
HTML content here ...</p> </b...
Fast Template Design In Joomla Cms
- Basic knowlege of Html needed (2)
Joomla is one of the most powerfull CMS sistems around. It is free under GNU/GPL license and
everyone with simple knowlege of webdesign (and even without it) can use it for it's website.
For now the only way i know on how to design a template in joomla is by using Dreamweaver and Joomla
(joomlasolutions1.0.mxp-dreamweaver.mxp) extension for dreamweaver! Template design in joomla
is quite simple really. This template that i'll show you is the most simplest of them all, but
it's enough for one to learn Basics of template design. Further notice is that this...
Integrating Html And Css Part 1
- (5)
Ok. Well i am writing this as a series of tutorials i will be doing on this subject, so enjoy. I
hope this helps. Introduction to HTML and CSS
HTML and CSS are to work together. HTML is what puts the characters on the page, while CSS is what
makes everything look outreageous! For instance, I would use HTML if i wanted to put "Trap17 is
the poop!" onto my page, although if i wanted to make it look nice like this by adding a font,
and maybe some color, then I would use CSS. Learn the HTML. Ok this is my lit...
Basic Html (for Us Kids)
- (23)
What is HTML? HTML (hypertext markup language) is computer language that is used to webpages. It
can be confusing to understand for some of us kids. HTML pages are text files that has of HTML tags
(they can place the text or images whereever you want to place it), and text you can place between
the tags so the text willshow up on your page when you put it on the WWW. Tags are instructions that
tell your browser what to show on ya website. They break up your webpage into basic sections. All
tags start with a (right bracket). If you are a starter you need 4 tools A...
How To Create Html Page Anchors
- Click A Link And Take You To A Certin Place On The Same Page (5)
Have you ever wondered how people have a normal link but all it does it take you to the middle of a
long page? well here is a solution DEMO: Here Ok well first off for the link it will be just
like a normal link code except you wont put a http://URL.com/file.php it will look somthing like
this QUOTE name ">Click This Link! there must be a # sign in front of this to work..
now, for the content that the person will be re-directed to after clicking the link QUOTE name
"> the items in bold is what you need to change QUOTE name "> i...
Tool Tips Using Only Css To Pop Up The Tool Tip
- No javascript involved! (8)
Tool Tip Tutorial Example Found Here . Please review before continuing. Nice. And no
javascript at all to be found. The colours I have used are for demonstration purposes only to show
you that they are adjustable to suit the background or to contrast against them. Your choice. That
is a styling issue. It is your site, you decide. The original author's idea was to add
position:relative to the link, in order to allow the span element inside to position absolutely
in respect to the parent link. This code has been tested in Ie5.5, IE6, Opera7.11 and M...
Multiple Classes In Html
- you can use more than one at a time (8)
Multiple Classes in Css Styles Classes are used in html pages to give certain defined
attributes to elements. They are useful when the attributes are to be used in more than one place on
a page. (Named Id's are only allowed once per page, but I digress... might have a tutorial on
that some day.) Sometimes you want Red text and sometimes you want Bold text. Easy enough to do,
simply define a class and apply it to the element you want red or bold. Use this class where you
want on the page, since classes are enabled to be used in several spots, for different u...
Firefox Tricks
- (32)
Here are some tricks you can do to your firefox browser. Remove bold formatting on the active tab.
Get rid of the close button the tab bar. Add the code to the userchrome.css CODE
.tabs-closebutton-box { display: none !important; } Force firefox to load links ina
new tab. Add the code to your user.js CODE user_pref
("browser.tabs.showSingleWindowModePrefs",true); Then restart firefox, you will
see an option to open windows in a new tab instead under tabbed browsing in Tools|Options|Advanced
Added code tags round cod...
Saint-michaels Html Tips And Tricks Issue # 2
- some more tricks of the trade and some wierd stuff to (2)
Well i thought it was time to bring in issue 2 of html tips and tricks and i found a very
interesting html coding which i thought was funny as hell its called Preventing Search Engine
Indexing this coding is used to keep your website from being index why i don't know why you
don't want you website listed unless it someone stupid as in telletubbies.com but heres the code
This tag tells the robots not to index this page and not to follow any links within the
page. QUOTE This tag tells the robots not to index this page, but follow any links wit...
Saint Michael Xhtml Tips And Tricks #1
- xhtml= html 5.0 :P (3)
Well by the many views i have seen on my web design issues i should go into new territory, so im
going start with some useful xhtml info for you web design fenatics, the info i present to you is
from other websites so be warned it might or might not work all depends but lets start off with the
basic info for using xhtml. Also this tutorial is for beginners so i won't be doing any xml
info due to it being a more server side then actually webdesign 1. DOCTYPE this is used to tell
the browser what kind of infomation it will be displaying. nothing as really changed...
Looking for saint, michaels, html, tips, tricks, 4, awhile, stuff
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for saint, michaels, html, tips, tricks, 4, awhile, stuff
*MORE FROM TRAP17.COM*
|
advertisement
|
|