Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / hyperlink code?

Author
Message
Mugen Wizardry
User Banned
Posted: 29th Aug 2010 07:42 Edited at: 29th Aug 2010 07:43
Hi all. for some reason, my hyperlink code is malfunctioning. I don't want any submenus, or regular menus. I just want a hyperlink to appear at the correct x,y. and when i mouse over it, i want it to underline, but when i take my mouse off of it, i want the underline to disappear.

For some reason, the link is not showing up..



and i need to be able to use it in any dbpro program.

thanks!

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
T4r4ntul4
14
Years of Service
User Offline
Joined: 1st Jan 2010
Location: close to my pc
Posted: 29th Aug 2010 15:57
try to indent your code next time it will make it more readable.

try this:



*happy coding on his 3D Construx Editor*
Mugen Wizardry
User Banned
Posted: 29th Aug 2010 16:48
that works. but it doesnt allow for centering the text.

i tried to modify it, but it's not working correctly.



CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
T4r4ntul4
14
Years of Service
User Offline
Joined: 1st Jan 2010
Location: close to my pc
Posted: 29th Aug 2010 17:02
you will need a extra variable to do that, how else do you know what your screen size is?



then change your
variable from



to



*happy coding on his 3D Construx Editor*
Mugen Wizardry
User Banned
Posted: 29th Aug 2010 17:11
its not that.

its that the text itself is in the wrong place. i want the text to be in the center but still act like a hyperlink. i dont want it to ALWAYS be in the center. just the text's actual position has to be centered. not the text's current position

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
T4r4ntul4
14
Years of Service
User Offline
Joined: 1st Jan 2010
Location: close to my pc
Posted: 29th Aug 2010 17:30
Quote: "i want the text to be in the center but still act like a hyperlink."


it is now

Quote: "i dont want it to ALWAYS be in the center."

then change the vars

Quote: "just the text's actual position has to be centered. not the text's current position"


??? explain that, i really dont understand you there.

play around with the code, try things out, thats how you learn the most of it.

*happy coding on his 3D Construx Editor*
Mugen Wizardry
User Banned
Posted: 29th Aug 2010 17:32
just the text's actual position. for instance, if u were to put the text at 10,10, it would still be centered, but still be a hyperlink centered at 10,10

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
T4r4ntul4
14
Years of Service
User Offline
Joined: 1st Jan 2010
Location: close to my pc
Posted: 29th Aug 2010 18:15
okay now i under stand =)

try



hope that helps

*happy coding on his 3D Construx Editor*

Login to post a reply

Server time is: 2024-09-28 22:31:24
Your offset time is: 2024-09-28 22:31:24