Offtopic topic #20

Gestart doorOne2xs4.912 reacties12.017 weergaven

4.913 berichten · pagina 121 van 328

Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Joepy biggrin
Het eerst deel van mijn "image rotator is al geschreven, maar nu nog de if en else invoeren.

Dit klopt toch al hoop ik?
Spoiler tonen
[COLOR= #0000BB]<?php
$target[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"_blank"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$width[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"468px"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$height[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"60px"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$link[/COLOR] [COLOR= #007700][[/COLOR][COLOR= #DD0000]1[/COLOR][COLOR= #007700]] =[/COLOR][COLOR= #DD0000]"http://www.google.com"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$link[/COLOR] [COLOR= #007700][[/COLOR][COLOR= #DD0000]2[/COLOR][COLOR= #007700]] =[/COLOR][COLOR= #DD0000]"http://www.google.com"[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$image[/COLOR] [COLOR= #007700][[/COLOR][COLOR= #DD0000]1[/COLOR][COLOR= #007700]] =[/COLOR][COLOR= #DD0000]"http://www.google.com"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$image[/COLOR] [COLOR= #007700][[/COLOR][COLOR= #DD0000]2[/COLOR][COLOR= #007700]] =[/COLOR][COLOR= #DD0000]"http://www.google.com"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #FF8000]//Hier al de rest waar ik mee bezig ben?[/COLOR]
?>
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Sander je doet het beter zo:

[COLOR= #0000BB]<?php

$rotator[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
                         [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR] [COLOR= #DD0000]link[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]http://google.com[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]image[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]google.com[/COLOR] [COLOR= #007700]),[/COLOR] 
                         [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR] [COLOR= #DD0000]link[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]http://google.com[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]image[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]google.com[/COLOR] [COLOR= #007700])
                 );[/COLOR]

?>
0
Berichten
20.364
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Marjolein schreef:
Eerdere citaten tonen
Shahiem schreef:
Waar is Superb nou, ik heb zijn nieuwe ubb class nodig sadley
zoek je deze: http://www.one2xs.com/threads/33423 ?
Hij had een nieuwe versie zei hij, maar dan zou ik deze wel even gebruiken. dankje smile
0
Berichten
1.226
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Goede morgen smile!

Weet iemand misschien waarom dit niet werkt?

<script type="text/javascript">
<a href="javascript:void(0)" onClick="player.loadVideo(.$Watch.)">.htmlentities(ucfirst($Media->group->title)).</a>
</script>
0
Berichten
20.364
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sdejong schreef:
Goede morgen smile!

Weet iemand misschien waarom dit niet werkt?
<script type="text/javascript">
<a href="javascript:void(0)" onClick="player.loadVideo(.$Watch.)">.htmlentities(ucfirst($Media->group->title)).</a>
</script>


Hoezo a link in script tag..?
0
Berichten
1.226
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik ben een JavaScript beginner, maar als ik me niet vergis moet ik toch "aankondigen" dat er JavaScript gebruikt gaat worden?
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Sdejong schreef:
Goede morgen smile!

Weet iemand misschien waarom dit niet werkt?
<script type="text/javascript">
<a href="javascript:void(0)" onClick="player.loadVideo(.$Watch.)">.htmlentities(ucfirst($Media->group->title)).</a>
</script>


echo je dat? ja toch?
0
Berichten
4.036
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik dacht dat Sanderc geband was emo?
0
Berichten
1.226
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Raaoul schreef:
Eerdere citaten tonen
Sdejong schreef:
Goede morgen smile!
Weet iemand misschien waarom dit niet werkt?

<script type="text/javascript">
<a href="javascript:void(0)" onClick="player.loadVideo(.$Watch.)">.htmlentities(ucfirst($Media->group->title)).</a>
</script>

echo je dat? ja toch?

Ja, echo en table staan erboven.
0
Berichten
20.364
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Straks maar even een forum op DTW gooien, dan kan ik lekker spammen. biggrin
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Shahiem schreef:
Eerdere citaten tonen
Marjolein schreef:
Eerdere citaten tonen
Shahiem schreef:
Waar is Superb nou, ik heb zijn nieuwe ubb class nodig sadley
zoek je deze: http://www.one2xs.com/threads/33423 ?
Hij had een nieuwe versie zei hij, maar dan zou ik deze wel even gebruiken. dankje smile
Dit is zijn laatste versie als ik het goed begrepen had, anders had ik het wel gehoord van hem want ik gebruik deze ook en hij zou hierop een aanvulling maken voor me.
0
Berichten
11.263
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Raaoul schreef:
Sander je doet het beter zo:

[COLOR= #0000BB]<?php

$rotator[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
                         [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR] [COLOR= #DD0000]link[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]http://google.com[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]image[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]google.com[/COLOR] [COLOR= #007700]),[/COLOR] 
                         [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR] [COLOR= #DD0000]link[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]http://google.com[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]image[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]google.com[/COLOR] [COLOR= #007700])
                 );[/COLOR]

?>
Bedankt maar kan je me ook uitleggen waarom? En ik heb nog niet geleerd met arrays te werken en ik weet niet hoe ik die arrays dan miet randommrn?
0
Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sdejong schreef:
Eerdere citaten tonen
Raaoul schreef:
Eerdere citaten tonen
Sdejong schreef:
Goede morgen smile!
Weet iemand misschien waarom dit niet werkt?

<script type="text/javascript">
<a href="javascript:void(0)" onClick="player.loadVideo(.$Watch.)">.htmlentities(ucfirst($Media->group->title)).</a>
</script>

echo je dat? ja toch?
Ja, echo en table staan erboven.

In de url tag heb je al javascript: en onClick verwijst meteen naar javascript. Je moet de
0
Berichten
7.806
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik ga kijken of GTA VC MP het doet bij mij, ga ik dat met een vriend doen.
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