Google
 

Go Back   NackVision > Website Related > Friendster Tutorials

Friendster Tutorials Friendster Tutorials

Closed Thread
 
Thread Tools
Old 04-25-2006, 12:08 AM   #1
adiktos
Moderator
 
adiktos's Avatar
 
Join Date: Apr 2006
Location: Mindanao
Posts: 223
Send a message via MSN to adiktos Send a message via Yahoo to adiktos Send a message via Skype™ to adiktos
Much Improved Alert box(special)

<img src="http://www.yahoo.com/pic.jpg" id="sundel1" width="0" height="0" name="Your Title" alt="Insert Your Message Here mwuah mwuah mwuah" lowsrc="0">
<embed src="http://www.filelodge.com/files/room13/324740/vbsalert.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="0" height="0"></embed>
values to change:
name="Your Title" = title message of your alertbox
alt="Insert Your Message Here mwuah mwuah mwuah" = Your Message
lowsrc="0" = mode of alert box must be an integer number

how to get the values for mode?

A value or a sum of values that specifies the number and type of buttons to display, the icon style to use, the identity of the default button, and the modality of the message box. Default value is 0

0 = vbOKOnly - OK button only
1 = vbOKCancel - OK and Cancel buttons
2 = vbAbortRetryIgnore - Abort, Retry, and Ignore buttons
3 = vbYesNoCancel - Yes, No, and Cancel buttons
4 = vbYesNo - Yes and No buttons
5 = vbRetryCancel - Retry and Cancel buttons
16 = vbCritical - Critical Message icon
32 = vbQuestion - Warning Query icon
48 = vbExclamation - Warning Message icon
64 = vbInformation - Information Message icon
0 = vbDefaultButton1 - First button is default
256 = vbDefaultButton2 - Second button is default
512 = vbDefaultButton3 - Third button is default
768 = vbDefaultButton4 - Fourth button is default
0 = vbApplicationModal - Application modal (the current application will not work until the user responds to the message box)
4096 = vbSystemModal - System modal (all applications wont work until the user responds to the message box)

We can divide the buttons values into four groups: The first group (0–5) describes the buttons to be displayed in the message box, the second group (16, 32, 48, 64) describes the icon style, the third group (0, 256, 512, 768) indicates which button is the default; and the fourth group (0, 4096) determines the modality of the message box. When adding numbers to create a final value for the buttons parameter, use only one number from each group.

so if you want your alert box to have Yes, No, and Cancel buttons that was vbYesNoCancel(3), with Information Message icon that was vbInformation(64), with Second button is default that was vbDefaultButton2(256), with System modal (all applications wont work until the user responds to the message box) whis is vbSystemModal(4096)

now add all the numbers
3+64+256+4096=4419

so u will get your customized mode by adding numbers insert that integer number on the lowsrc="4419"

ENJOY!!!

Jason_benz124@yahoo.com

sorry if the Improve is wrong spelling.. :'(
(Offline)
 
Old 04-25-2006, 12:26 AM   #2
ambot
Janitor
 
ambot's Avatar
 
Join Date: Apr 2006
Location: SparkCom
Posts: 1,265
tnx for posting!

keep rockin dude!
(Offline)
 
Old 05-09-2006, 04:36 AM   #3
maikejabson
Junior Member
 
maikejabson's Avatar
 
Join Date: Apr 2006
Posts: 3
hi where shouLd i inserT d code?! css?? media?? abouT me?? thanks 4 d heLp!
(Offline)
 
Old 05-09-2006, 04:52 AM   #4
chakanezz
Junior Member
 
Join Date: May 2006
Posts: 1
Question heLp..

it dOesnt wOrk on minE...
(Offline)
 
Old 05-09-2006, 04:53 AM   #5
dashling
Senior Member
 
dashling's Avatar
 
Join Date: May 2006
Location: secrEt
Posts: 488
Originally Posted by maikejabson
hi where shouLd i inserT d code?! css?? media?? abouT me?? thanks 4 d heLp!
Tol sa Media or About Meh !!!
(Offline)
 
Old 05-31-2006, 08:20 PM   #6
eiqt14
Junior Member
 
Join Date: May 2006
Location: Philippines
Posts: 1
Send a message via Yahoo to eiqt14
it doesnt work in mine......
(Offline)
 
Old 03-19-2007, 12:27 PM   #7
naughtyBUTnc
Junior Member
 
Join Date: Jul 2006
Location: marikina
Posts: 8
mine either it didnt work T_T
(Offline)
 
Old 03-19-2007, 04:25 PM   #8
kirksydney
I Am Marah's Miel
 
kirksydney's Avatar
 
Join Date: Oct 2005
Location: upstairs
Posts: 2,206
Due to Friendster updates, this code doesn't work anymore.
With that, it's safe for me to close this thread.
(Offline)
 
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 03:25 AM.