Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Extra forumcode ; Tooltips betá 1.1

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
MarcelG Posted - 30 August 2005 : 15:33:54
Well, started long time ago, but thanks to a brainwave this afternoon it's completed, and ready for public testing.

Screenshot in FireFox (top) & IE (below) and installation instructions.

Support ; as long as it's béta via this topic or via oxle, that's up to you.
When it's final, via Help: MOD Implementation, or via oxle, again up to you.

Update: Changed approach from Acronyms to Tooltips, as advised by Shaggy. Besides, rumours go that <acronym></acronym> will be dropped soon in the standards....
Syntax has changed too from [acr=* *][/acr] to the more logical [tip=* *] [/tip].<
11   L A T E S T    R E P L I E S    (Newest First)
MarcelG Posted - 03 March 2006 : 14:20:19
Mmmm...let me see if I can dig that up somewhere... I thought I found that pack at Snitzbitz...<
lsakizada Posted - 03 March 2006 : 13:51:17
MarcelG this is a nice mod/
Thanks for that. I saw on your forum more forum code such as:
1. Highlight text
2. marquee(Moving Text).
Can you please post a link to instruction pages if they are exist?

<
Shaggy Posted - 31 August 2005 : 10:09:50
It's just the way Snitz parses the tag, AFAIK. If we had ] ending the opening URL tag instead of "], we'd encounter the problem above when using any other tag that isn't parsed before being instered in the database in the same post.

<
MarcelG Posted - 31 August 2005 : 10:02:10
Well, tested it just at our intranet forum, which has the original ReplaceURLs function....
It doesn't work when using both [url=" as well as [tip=" in the same post.
Decided to try the [tip=' '] style instead ; worked perfectly!
It would be nice if it could be done without any ' or ", but I suppose that that's not easily possible with ASP.
PHP can do it afaik, seeing that phpBB supports the url code syntax of [url=blabla] [/url]...but ok. That's another discussion. <
Shaggy Posted - 31 August 2005 : 09:26:32
Worth testing it on a "clean" forum to be sure, though

<
MarcelG Posted - 31 August 2005 : 09:06:09
Well, I guess it will work on the basecode. However, as I've introduced the [bookmark][/bookmark] function, I needed to find a way to circumvent linking to bookmarks on the same page, with a target frame set to _blank.
So, I changed the ReplaceURLs function....
I think that that's 'messed' up the lot a bit.
<
Shaggy Posted - 31 August 2005 : 07:36:58
Strangeness, from my working with the ReplaceUrls function, I wouldn't have thought this to be a problem. As an alternative, you could use single quotes as people will be used to using quatation marks with URLs.

<
MarcelG Posted - 31 August 2005 : 07:12:39
Perfect! Thanks! Just replaced the acronym with span, so it's working allright now.

However, I cannot seem to use [acr=" "]...
I changed this :

	oTag = "[acr=*"
	c1Tag = "*]"
	c2Tag = "[/acr]"

into this:

	oTag = "[acr="""
	c1Tag = """]"
	c2Tag = "[/acr]"

This works fine, as long as the same post does not contain any instances of [url=" "]...
So, I'll stick to [acr=* *] as syntax for the time being.<
Shaggy Posted - 31 August 2005 : 06:09:11
Ay, the title attribute will validate on the span tag, use it ocassionally meself when acronym isn't appropriate.

As for the image tags, I see what you're getting at, tried it meself a couple of times using various methods with naff all success. Gimme a day or 2 to clear all this junk out of me inbox (Where's me lighter fluid?!) and I'll have a look at it with you. No promises, though

<
MarcelG Posted - 31 August 2005 : 05:58:32
Erm...using the span to create a tooltip ?
Just something like <span class=""tooltip"" title=""the tooltip""> .. </span> ?

About the * instead of the " ; thanks for the info ; will do so.

Perhaps you've also got an idea for this one:
Currently the function uses a different approach for images being incapsulated by the acronym tag.

With this method, a different style is applied to these acronyms.
However, what I'd like to achieve with images is that instead of using it as an acronym surrounding the image, I'd like to add it to the title tag.
Like this:
INPUT: [acr="the title"][img]location of image[/img][/acr]
OUTPUT: <IMG SRC="location of image" TITLE="the title">
Do you recon that's possible ?<
Shaggy Posted - 31 August 2005 : 05:17:56
Quick suggestion, Marcel, how about using the span tag instead of the acronym to save the misuse of the latter? It also saves that nasty dotted border Mozilla browsers place underneath acronyms. Also, from your previous postings on this, you'll be safe enough using quatation marks in place of the asterisks without fear of it clashing with the ReplaceUrls function.

<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07