Div Openen

Gestart doorSmiegles14 reacties45 weergaven

15 berichten · pagina 1 van 1

Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoe zorg ik ervoor dat als je op een Link of plaatje klikt dat hij dit opent?

<div id=d3 style="display: none;">
0
Berichten
3.788
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
onclick="document.getElementById(id3).style.display = block;"

Zoeits volgensmij
0
Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoe opent hij het dan in een Zelfde pagina?
0
Berichten
3.788
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja
0
Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoe opent hij het dan in een Zelfde pagina?

Antwoord JA

Dat snap ik nietemo
Het is zo,n sleep van die je moet kunnen afsluiten en openen
Afsluiten kan al Openen niet
0
Berichten
3.788
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Gewoon, hij verschijnt op de plek waar hij staat!
0
Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dat doet hij niet hij opent een heel nieuwe Link

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]config.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]gamecss.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]])) {[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]U bent niet ingelogd.[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] ?>
 <script type="text/javascript"> 
      $(document).ready(function(){
        $("div#playground").css({
          background:"gray",
          width:900,
          height:800,
          border:"1pt solid"
        });
        $("div#d1").dialog({ height: 640 ,
        width:200, position: right, title:welkom [COLOR= #0000BB]<?php
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * from users WHERE id="[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$row[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]);[/COLOR]
?>
[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]];[/COLOR] ?>});
        $("div#d2").dialog({ height: 150 ,
        width:200, position: bottom, title:Homepage,zindex:20});
        $("div#d3").dialog({ height: 150 ,
        width:200, title:Blog});
        $("h3#d4").draggWithStatus(
          {border:"3px outset",opacity:0.4});
        $("#b1").draggWithStatus(
          {border:"10px inset",opacity:0.1,statusinfo:false});
        $("#u1").draggWithStatus(
          {border:"1px outset",opacity:0.7,statusinfo:false});
        $("h2").draggWithStatus();
        $("h3").draggWithStatus();
        $("div#playground").draggWithStatus();
      });
    </script> 
<style type="text/css">
<!--
.white {
     background-color: #fff; 
 }
.blue {
     background-color: #ccf; 
 }
.red {
     background-color: #fcc;
 }
.green {
     background-color: #cfc; 
 }
.yellow {
     background-color: #ffc; 
 }
.gray {
     background-color: #ccc; 
 }
#show {
     text-decoration:underline;
     cursor:pointer;
 }
#changeDefault {
     display: none;
 }
#applyColor {
     border:1px solid #999;
     margin:4px;
 }
#applyColor td{
     border:1px solid #666;
     padding:4px;
     text-align:center;
 }
#selectColor {
     border-collapse:collapse;
     margin:4px;
 }
#selectColor td {
     width:20px;
     height:20px;
     border:1px solid #999;
 }
//-->
</style>

<script type="text/javascript">
<!--

  var chosenColor=null;

function saveClass(color) {
  chosenColor=color;
 }

function applyClass(el,num) {
if(chosenColor==null) {
    return;
 }
cell=document.getElementById("applyColor").getElementsByTagName("td");
for(i=0;i<cell.length;i++) {
if( chosenColor==cell[i].className) {
     cell[i].className="gray";
  }
 }
     el.className=chosenColor;
     document.forms[0][num].value=el.id+" , "+chosenColor;
 }

function hideShow() {
if(document.getElementById("changeDefault").style.display=="block") {
     document.getElementById("changeDefault").style.display="none";
 }
else {
     document.getElementById("changeDefault").style.display="block";
  }
 }

function greyCheck() {
cell=document.getElementById("applyColor").getElementsByTagName("td");
for(i=0;i<cell.length;i++) {
if( cell[i].className=="gray") {
     alert("---------------------------------------------nn"+
              "You have a gray cell or cells.nn"+
               "This needs to be changed.nn"+
                "The final selection should contain onenn"+
                "each of the available colour choice.nn"+
                "---------------------------------------------");
    return false;
  }
 }
}
//-->
</script>

</head>
<body>


<div id="show" onclick="hideShow()">Change the default state</div>

<div id="changeDefault">

<table id="applyColor"><tr>
<td  id="work" class="white" onclick="applyClass(this,0)">At Work</td>
<td id="class" class="blue" onclick="applyClass(this,1)">In Class</td>
<td id="defAvail" class="green" onclick="applyClass(this,2)">Definitely Availiable</td>
<td id="posAvail" class="red" onclick="applyClass(this,3)">Possibly Availiable</td>
<td id="sleeping" class="yellow" onclick="applyClass(this,4)">Sleeping</td>
</tr></table>

<table id="selectColor"><tr>
<td class="white" onclick="saveClass(white)"></td>
<td class="blue" onclick="saveClass(blue)"></td>
<td class="green"onclick="saveClass(green)"></td>
<td class="red" onclick="saveClass(red)"></td>
<td class="yellow" onclick="saveClass(yellow)"></td>
</tr></table>

<form action="#" onsubmit="return greyCheck()">
<div>
<input type="text" name="work" value="work , white">
<input type="text" name="class" value="class , blue">
<input type="text" name="defAvail" value="defAvail , green">
<input type="text" name="posAvail" value="posAvail , red">
<input type="text" name="sleeping" value="sleeping , yellow">
<input type="submit" value="Save" >
</div>
</form>

</div>
 <div  id=d1 style="display: none;"> 
<b>vrienden</b><br>
[COLOR= #0000BB]<?
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * from vrienden WHERE gebruiker1="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" OR gebruiker2="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$num[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$row[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]))
        {[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker1[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]){[/COLOR]
            [COLOR= #0000BB]$readUser[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * from users WHERE id="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker2[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]); 
                 }[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker2[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]){[/COLOR]
            [COLOR= #0000BB]$readUser[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * from users WHERE id="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker1[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]); 
                 }[/COLOR]
            [COLOR= #0000BB]$readRow[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$readUser[/COLOR][COLOR= #007700]);[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]geaccepteerd[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700])
                        {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<a href=profiel.php?id="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$readRow[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]">"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$readRow[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"</a><br />"[/COLOR][COLOR= #007700];
                        }
                        
          }[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$num[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]){[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je hebt nog geen vrienden."[/COLOR][COLOR= #007700]; }[/COLOR] 
                        
?>
 <div id=d3 style="display: none;"> 
      My Blog:
      <a href="http://blog.rjs.de">blog.rjs.de</a> 
    </div> 
</div>
[COLOR= #0000BB]<?[/COLOR] [COLOR= #007700]}[/COLOR] 
?>


heb ik NU
en ik wil dat je als je klikt ergens op een Link dat hij een Beweegding opent in dezelfde pagina

//Luukedit: 2 berichten samengevoegd
0
Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]config.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]gamecss.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]])) {[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]U bent niet ingelogd.[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] ?>
 <script type="text/javascript"> 
      $(document).ready(function(){
        $("div#playground").css({
          background:"gray",
          width:900,
          height:800,
          border:"1pt solid"
        });
        $("div#d1").dialog({ height: 640 ,
        width:200, position: right, title:welkom [COLOR= #0000BB]<?php
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * from users WHERE id="[/COLOR][COLOR= #007700].[/COLOR][URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$row[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]);[/COLOR]
?>
[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]];[/COLOR] ?>});
        $("div#d2").dialog({ height: 150 ,
        width:200, position: bottom, title:Homepage,zindex:20});
        $("div#d3").dialog({ height: 150 ,
        width:200, title:Blog});
        $("h3#d4").draggWithStatus(
          {border:"3px outset",opacity:0.4});
        $("#b1").draggWithStatus(
          {border:"10px inset",opacity:0.1,statusinfo:false});
        $("#u1").draggWithStatus(
          {border:"1px outset",opacity:0.7,statusinfo:false});
        $("h2").draggWithStatus();
        $("h3").draggWithStatus();
        $("div#playground").draggWithStatus();
      });
    </script> 
<style type="text/css">
<!--
.white {
     background-color: #fff; 
 }
.blue {
     background-color: #ccf; 
 }
.red {
     background-color: #fcc;
 }
.green {
     background-color: #cfc; 
 }
.yellow {
     background-color: #ffc; 
 }
.gray {
     background-color: #ccc; 
 }
#show {
     text-decoration:underline;
     cursor:pointer;
 }
#changeDefault {
     display: none;
 }
#applyColor {
     border:1px solid #999;
     margin:4px;
 }
#applyColor td{
     border:1px solid #666;
     padding:4px;
     text-align:center;
 }
#selectColor {
     border-collapse:collapse;
     margin:4px;
 }
#selectColor td {
     width:20px;
     height:20px;
     border:1px solid #999;
 }
//-->
</style>

<script type="text/javascript">
<!--

  var chosenColor=null;

function saveClass(color) {
  chosenColor=color;
 }

function applyClass(el,num) {
if(chosenColor==null) {
    return;
 }
cell=document.getElementById("applyColor").getElementsByTagName("td");
for(i=0;i<cell.length;i++) {
if( chosenColor==cell[i].className) {
     cell[i].className="gray";
  }
 }
     el.className=chosenColor;
     document.forms[0][num].value=el.id+" , "+chosenColor;
 }

function hideShow() {
if(document.getElementById("changeDefault").style.display=="block") {
     document.getElementById("changeDefault").style.display="none";
 }
else {
     document.getElementById("changeDefault").style.display="block";
  }
 }

function greyCheck() {
cell=document.getElementById("applyColor").getElementsByTagName("td");
for(i=0;i<cell.length;i++) {
if( cell[i].className=="gray") {
     alert("---------------------------------------------nn"+
              "You have a gray cell or cells.nn"+
               "This needs to be changed.nn"+
                "The final selection should contain onenn"+
                "each of the available colour choice.nn"+
                "---------------------------------------------");
    return false;
  }
 }
}
//-->
</script>

</head>
<body>


<div id="show" onclick="hideShow()">Change the default state</div>

<div id="changeDefault">

<table id="applyColor"><tr>
<td  id="work" class="white" onclick="applyClass(this,0)">At Work</td>
<td id="class" class="blue" onclick="applyClass(this,1)">In Class</td>
<td id="defAvail" class="green" onclick="applyClass(this,2)">Definitely Availiable</td>
<td id="posAvail" class="red" onclick="applyClass(this,3)">Possibly Availiable</td>
<td id="sleeping" class="yellow" onclick="applyClass(this,4)">Sleeping</td>
</tr></table>

<table id="selectColor"><tr>
<td class="white" onclick="saveClass(white)"></td>
<td class="blue" onclick="saveClass(blue)"></td>
<td class="green"onclick="saveClass(green)"></td>
<td class="red" onclick="saveClass(red)"></td>
<td class="yellow" onclick="saveClass(yellow)"></td>
</tr></table>

<form action="#" onsubmit="return greyCheck()">
<div>
<input type="text" name="work" value="work , white">
<input type="text" name="class" value="class , blue">
<input type="text" name="defAvail" value="defAvail , green">
<input type="text" name="posAvail" value="posAvail , red">
<input type="text" name="sleeping" value="sleeping , yellow">
<input type="submit" value="Save" >
</div>
</form>

</div>
 <div  id=d1 style="display: none;"> 
<b>vrienden</b><br>
[COLOR= #0000BB]<?
$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * from vrienden WHERE gebruiker1="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" OR gebruiker2="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$num[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$row[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]))
        {[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker1[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]){[/COLOR]
            [COLOR= #0000BB]$readUser[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * from users WHERE id="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker2[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]); 
                 }[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker2[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]uid[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]){[/COLOR]
            [COLOR= #0000BB]$readUser[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * from users WHERE id="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker1[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]); 
                 }[/COLOR]
            [COLOR= #0000BB]$readRow[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$readUser[/COLOR][COLOR= #007700]);[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][COLOR= #0000BB]$row[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]geaccepteerd[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700])
                        {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<a href=profiel.php?id="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$readRow[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]">"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$readRow[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]"</a><br />"[/COLOR][COLOR= #007700];
                        }
                        
          }[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$num[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]){[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je hebt nog geen vrienden."[/COLOR][COLOR= #007700]; }[/COLOR] 
                        
?>
 <div id=d3 style="display: none;"> 
      My Blog:
      <a href="http://blog.rjs.de">blog.rjs.de</a> 
    </div> 
</div>
[COLOR= #0000BB]<?[/COLOR] [COLOR= #007700]}[/COLOR] 
?>


heb ik NU
en ik wil dat je als je klikt ergens op een Link dat hij een Beweegding opent in dezelfde pagina
0
Berichten
3.788
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Gewoon ergens een link neerzetten:

Klik
0
Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Daar werkt de Klik niet eens?
0
Berichten
515
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Eleky schreef:
Gewoon ergens een link neerzetten:
Klik
0
Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Klik
Dan word er een sterretje in de link gezet?
0
Berichten
515
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Smiegles schreef:
Klik
Dan word het dit.. < a werkt niet zonder href namelijk..
0
Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jullie zijn echt blind hé emobox3").style.display = block">Klik
moet worden:
Klik

@Justafool: Uhm dat werkt dan ook wel alleen dan anders.. alleen onClick kan ook..
0
Smiegles

Lid · Topicstarter

Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Als ik die doe doet hij ook Niks
kan ik iets include dat het als je op de link klikt over de hele pagina gaat?
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