Langer of korter

Gestart doorKrm10 reacties43 weergaven

11 berichten · pagina 1 van 1

Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik wil nu me playlist voor me nieuwe site wat duidelijker maken.
Sommige titel zijn lang en dat wil ik verkorten dat is me gelukt.
Maar ik had nu een ideetje maar hoe moet ik dat aanpakken

Als de titel langer dan 35 karakters zijn dat het een marquee word als je erop aanwijst en als die korter is dan niet
Wie me helpt met dit scriptje krijgt 0,25 pt
0
Berichten
3.788
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$string[/COLOR][COLOR= #007700]) >[/COLOR] [COLOR= #0000BB]35[/COLOR][COLOR= #007700]){[/COLOR]
   [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<marque onhover=this.snelheidding = 2>"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$string[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]"</maruqe>"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$string[/COLOR][COLOR= #007700];
}[/COLOR]
?>


Zoeits
0
Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
werkt niet?
0
Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Misschien omdat "snelheidding" niet bestaat emo?
0
Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
wist ik veelyummienu dat nog dan werkt ie
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Het moet marquee zijn, niet marque
0
Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Wie weet nu de marquee code als je erop wijst dat ie dan pas gaat bewegen
0
Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$string[/COLOR][COLOR= #007700]) >[/COLOR] [COLOR= #0000BB]35[/COLOR][COLOR= #007700]){[/COLOR]
   [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<marquee onmouseover="this.start()" onmouseout="this.stop()">[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$string[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]</marquee>[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$string[/COLOR][COLOR= #007700];
}[/COLOR]


Denk ik.
0
Krm

Lid · Topicstarter

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jeffrey ongeveer
Maar aan het begin moet hij gewoon stilstaan
0
Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Maak er is dit van:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/strlen"]strlen[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$string[/COLOR][COLOR= #007700]) >[/COLOR] [COLOR= #0000BB]35[/COLOR][COLOR= #007700]){[/COLOR]
   [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<marquee onload="this.stop()" onmouseover="this.start()" onmouseout="this.stop()">[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$string[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]</marquee>[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$string[/COLOR][COLOR= #007700];
}[/COLOR] 
?>
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren