ForumWise Support ForumWise Support
Help with your Forum
ForumWise Support
FAQFAQ  SearchSearch  RegisterRegister  ProfileProfile  MemberlistMemberlist  UsergroupsUsergroups  Log in to check your private messagesLog in to check your private messages  Log inLog in 

Home | Forum | Arcade

Tip: (Slightly) Advanced HTML for your Portal

 
Reply to topic    ForumWise Support Forum Index -> Community Help
View previous topic :: View next topic  
Author Message
Maurer
Feature Request Editor
Feature Request Editor


Joined: 29 Jan 2006

$ 25.80
Location: Sector 7G

PostPosted: Mon Oct 16, 2006 3:36 pm    Post subject: Tip: (Slightly) Advanced HTML for your Portal Reply with quote

Tip: (Slightly) Advanced HTML for your Portal

It is assumed that you are already familiar with the first post in this series: (Really) Basic HTML for your Portal. There we discussed basic issues such as formatting your text, inserting images, creating hyperlinks and hyperlinked images. In this post we shall go a bit further, giving you a wider range of tools for use in designing your portal.

Removing Borders on Hyperlinked Images:

In the last section, we discussed creating hyperlinked images. The code presented there will result in an image surrounded by a blue frame, which is default. To eliminate this frame, use the following code in place of that presented earlier:

<a href=”http://your_desination_ulr.com/” ><img src=”http://your_image_url.com” border=0></a>

Of course, you will have to replace the URLs with your own information.

Adding Mouse-Over Text to (Hyperlinked) Images:

If you would like a short text to appear when people pass their mouse cursor over your image (called a ‘mouse-over’), use the following code:

<img src=”http://your_image_url.com“ alt=“YOUR MOUSE-OVER TEXT”>

If your image is hyperlinked, use the following code:

<a href=”http://your_desination_ulr.com/” ><img src=”http://your_image_url.com” alt=”YOUR MOUSE-OVER TEXT”></a>

Be sure to replace YOUR MOUSE-OVER TEXT with your desired text.

NOTE: src, border and alt are all parameters which define the <img> tag. If they are used in conjunction with one another, they need to be separated by a space.

Using Horizontal Rules:

You may want to provide a visual division between text and / or information of a different nature which appears together in one module. The easiest way to do this is by the use of a horizontal rule. The tag for the horizontal rule is <hr>, and is quite versatile. You can define the width, height and color of the rule. It also can be used in conjunction with the <center> tag.

If you want to insert a basic horizontal rule into one of your modules, use the following code:

<hr width=”50%” size=”3”>

In this example, “50%” refers to the amount of space the rule will take up relative to the available module width. This variable can range from anything from 1% to 100%, depending upon how wide you want the rule to be. “3” refers to the height of the rule. This variable can also be adjusted, 1 giving a very thin line, 10 giving a rather thick one.

For a colored horizontal rule, use the following code:

<hr width=”50%” size=”3” color=”#FF0000”>

Just as with the <font> tag, the color parameter accepts hexadecimal values as well as some proper names. Thus, in the last example, we could also use the name “red” instead of “#FF0000”. However, hexadecimal values are much more precise and allow a wider range of flexibility than proper names.

Using Marquees:

A marquee is an animated strip of text that passes through a predefined field. Like the <hr> tag, the <marquee> tag is also quite versatile, and can be customized in terms of color and width. In addition, you can determine the speed of the scroll.

If you want a basic marquee, use the following code:

<marquee bgcolor=”#CCCCCC” loop=”-1” scrollamount=”2” width=”100%”>YOUR TEXT</marquee>

In this example, the bgcolor is the background color of the marquee itself. Here we have it set to the hexadecimal value for ‘grey’. The scrollamount is the speed at which your text moves across the screen. This can be adjusted, but anything above 3 or 4 becomes difficult to read. Like with the <hr> tag, the width parameter defines the overall size of the marquee relative to the defined width of the module you are using the code in.

Of course, you should replace YOUR TEXT with your desired text.

NOTE: This tag will not work on all browsers.

Using the Unordered List, Ordered List and List Item Tags:

The list item <li> tag is always used in conjunction with either the unordered list <ul> tag or the ordered list <ol> tag, depending upon which effect is desired.

The <ul> tag is generally used for creating lists which have bullet-type points at the start of each item. There are three primary types of ‘bullet point’, the ‘disc’ (solid), the ‘circle’ (hollow) and the ‘square’ (solid). In the following example, all three are presented:

<ul>
<li type=”disc”>ITEM 1
<li type=”circle”>ITEM 2
<li type=”square”>ITEM 3
</ul>


In addition to using the <type> parameter, you can also omit this and simply include a bullet point of your choice as text, as in the following:

<li>§ ITEM 1
etc.

Also, the <ul> tag can be used for creating hierarchy lists, in which one list appears inside of another:

<ul type="disc">
<li>List item 1
<li>List item 2
<ul type="circle">
<li>List item A
<li>List item B
</ul>
</ul>


The <ol> tag is generally used for creating numbered lists, whereby letters can be used in the place of numbers. The default ordering for the <ol> tag is with numbers, as follows:

<ol>
<li>ITEM 1
<li>ITEM 2
<li>ITEM 3
</ol>


However, just like the <ul> tag, the <ol> tag can also be defined in terms of <type>:

<ol type=”i”>
<li>ITEM 1
<li>ITEM 2
<li>ITEM 3
</ol>


This will produce a list ordered i, ii, iii, iv, etc. The parameter “a” produces a list ordered a, b, c, d, etc.

Coming eventually:

(More) Advanced HTML for your Portal: Using Tables…
Back to top
View user's profile Send private message
Author Message
ServiceF1rst
Moderator
Moderator


Joined: 08 May 2006

$ 23.17
Location: Indiana

PostPosted: Mon Oct 16, 2006 11:55 pm    Post subject: Reply with quote

Excellent thread M. Made a pdf of this document and tucked it away for a rainy weekend. Thanks.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Author Message
Mr Jepps Se
ForumWise Co-Admin
ForumWise Co-Admin


Joined: 07 Dec 2005

$ 39.70

PostPosted: Wed Oct 25, 2006 3:02 pm    Post subject: Reply with quote

What is the advantage of pdf?
_________________
How To's, Faqs & Userguides
Back to top
View user's profile Send private message Visit poster's website
Author Message
ServiceF1rst
Moderator
Moderator


Joined: 08 May 2006

$ 23.17
Location: Indiana

PostPosted: Thu Oct 26, 2006 1:43 am    Post subject: Reply with quote

The advantages of the pdf are numerous, but I won't bother you with all of them. This thread (or any web page) can be converted to a pdf and accessed off line. PDF files can be archived locally into personal catalogs of information. One of the really big advantages, from a personal aspect is that I access volumes and volumes of technical pages on any given day in any given week, originally I was of the habit of bookmarking the pages that held specific information that I needed or had use for - very often to return to the page only to find it had been removed from the server, or was otherwise unavailable - this will never happen with a pdf, which is not to imply this thread will ever be removed, but if it were I have an exact copy in pdf format. Another example is the use of pdf files in my own Forum. I republish technical articles that in many instances utilize graphs and charts that are sometimes impossible and often very time consuming to recreate to maintain continuity of the original article. Using the pdf snap shot tool and pasting it to paint the article as it is or was originally published can be reproduced, converted to an image file placed on a server and then into a thread - preserving the integrity of the original work and offering nearly the same effect as having an attachment feature on the boards.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Author Message
Mr Jepps Se
ForumWise Co-Admin
ForumWise Co-Admin


Joined: 07 Dec 2005

$ 39.70

PostPosted: Thu Oct 26, 2006 5:35 pm    Post subject: Reply with quote

Thanks ServiceF1rst.
_________________
How To's, Faqs & Userguides
Back to top
View user's profile Send private message Visit poster's website
Author Message
ServiceF1rst
Moderator
Moderator


Joined: 08 May 2006

$ 23.17
Location: Indiana

PostPosted: Fri Oct 27, 2006 12:57 am    Post subject: Reply with quote

My pleasure Sy.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Author Message
terrymcauliffe
Full Member


Joined: 30 Aug 2006

$ 2.54
Location: Melbourne Australia

PostPosted: Sun Jun 17, 2007 7:34 am    Post subject: Reply with quote

SF, thats a good explanation regarding the PDF. You made previous mention that you use the PDF's in your forum, is that only on your Portal of do you use them in your forum threads. IF so, how do you incorporate the PDF into a thread. I have been asked if this can be done and Im not sure at all on how to do it. Any info you could provide me with would be much appreciated.

cheers mate.
_________________
Rebel Fishing
Back to top
View user's profile Send private message
Author Message
terrymcauliffe
Full Member


Joined: 30 Aug 2006

$ 2.54
Location: Melbourne Australia

PostPosted: Sun Jun 17, 2007 7:37 am    Post subject: Reply with quote

gday Maurer, thats a pretty good and helpful tutorial you posted there mate, well done. One question for ya,,,with regards to the mouseover tag, is there an alternative code to the HTML that will allow mouseover in BBCode for hyperlinked images in forum threads?.

cheers mate.
_________________
Rebel Fishing
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    ForumWise Support Forum Index -> Community Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001, 2002 phpBB Group

Arthur Theme


Free Forum Free Top Site List
Make this Forum Ad-Free




3474038