![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
|
uh yeah so is it possible to make the pop up appear over the "yoyoyoy".(normal text) not link?
<script type="text/javascript">
document.write("yoyoyoyo")
onmouseover="message()"
function message()
{
alert("hello")
}
</script>
__________________
Hoes telling me to calm down but I'm like fuck that shit!
|
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
I think you're a bit lost. Try this:
<script type="text/javascript">
<!--
function FunkyMessageBox()
{
alert("Hi there.");
}
// -->
</script>
<p onmouseover="FunkyMessageBox();">Yo yo yo.</p> |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4
![]() |
Or you could use the span tag if the text is within another paragraph.
<span onmouseover="FunkyMessageBox();">Yo yo yo.</span>
__________________
"A stupid man's report of what a clever man says can never be accurate, because he unconciously translates what he hears into something he can understand." - B. Russell http://web.bryant.edu/~srk2 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|