website maken

Status
Niet open voor verdere reacties.

pakestok

Gebruiker
Lid geworden
16 jun 2007
Berichten
330
ik heb een scriptje van leejoo afgehaald zie afb 1.
<?php
// PHP Proxy
// Responds to both HTTP GET and POST requests
//
// Author: Abdul Qabiz
// March 31st, 2006
//

// Get the url of to be proxied
// Is it a POST or a GET?
$url = ($_POST['url']) ? $_POST['url'] : $_GET['url'];
$headers = ($_POST['headers']) ? $_POST['headers'] : $_GET['headers'];
$mimeType =($_POST['mimeType']) ? $_POST['mimeType'] : $_GET['mimeType'];


//Start the Curl session
$session = curl_init($url);

// If it's a POST, put the POST data in the body
if ($_POST['url']) {
$postvars = '';
while ($element = current($_POST)) {
$postvars .= key($_POST).'='.$element.'&';
next($_POST);
}
curl_setopt ($session, CURLOPT_POST, true);
curl_setopt ($session, CURLOPT_POSTFIELDS, $postvars);
}

// Don't return HTTP headers. Do return the contents of the call
curl_setopt($session, CURLOPT_HEADER, ($headers == "true") ? true : false);

curl_setopt($session, CURLOPT_FOLLOWLOCATION, true);
//curl_setopt($ch, CURLOPT_TIMEOUT, 4);
curl_setopt($session, CURLOPT_RETURNTRANSFER, true);

// Make the call
$response = curl_exec($session);

if ($mimeType != "")
{
// The web service returns XML. Set the Content-Type appropriately
header("Content-Type: ".$mimeType);
}

echo $response;

curl_close($session);

?>

maar nou heb ik een eigen balk gemaakt die veel moooier is.

als je kijkt bij afbeelding 1 dan komen eronder links bij als je er op klikt dan
maar nou is mijn vraag ik wil graag, dat als je op mijn balk Kijk afb. 2 dat het onderste (het zwarte van afb. 1) dat dat ervoor komt bij mijn eigen balk

hier is mij scriptje:

<html>

<head><style>
<!--
a.nav:link { font-family: Verdana,Arial,San Serif; font-size: 10px; text-decoration: none }
a.nav:visited { font-family: Verdana,Arial,San Serif; font-size: 10px; text-decoration: none }
a.nav:active { font-family: Verdana,Arial,San Serif; font-size: 10px; text-decoration: none }
a.nav:hover { font-family: Verdana,Arial,San Serif; font-size: 10px; text-decoration: none; color: #33CCFF }
.HEADING { cursor: hand; font-family: Verdana,Arial,San Serif; font-size: 12px; color: #FFFFFF;
background-color: #66CCFF; font-weight: none;
border: 2 solid #66CCFF }
.LINKSOFF { display: none; font-family: Verdana,Arial,San Serif; font-size: 12px; color: #FFFFCC }
.LINKSON { display: inline; font-family: Verdana,Arial,San Serif; font-size: 12px; color: #000080 }
-->
</style>
<Script Language="VBscript">
<!--
Option Explicit
DIM menuID,menuObj,cellBk
SUB ShowHide(menuID)
menuObj = "Link" & menuID
cellbk = "Head" & menuID
// CHECK IF OPEN
if document.all.item(menuObj).className = "LINKSON" then 'IF MENU OPEN THEN CLOSE
document.all.item(menuObj).className = "LINKSOFF"
document.all.item(cellBk).style.backgroundColor = "#0000FF" ' SET CELL BACKGROUND COLOUR BLUE
ELSE
document.all.item(menuObj).className = "LINKSON" ' OPEN MENU
document.all.item(cellBk).style.backgroundColor = "#3366FF" ' SET CELL BACKGROUND COLOUR RED
END IF
END SUB
-->
</Script>
<style>

</style>
<meta http-equiv="Content-Language" content="nl">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<meta name="keywords" content="website maken website tutorials tips en tutorials">
<meta name="description" content="website maken? maar je weet niet hoe? kijk op .... voor alle tips en truck's">
</head>

<body background="file:///C:/Users/MijnPC/Pictures/wilco/website/achtergrond.jpg" vlink="#FFFFFF">

<div align="center">
<div style="position: absolute; width: 111px; height: 379px; z-index: 4; left: 427px; top: 247px" id="layer9">
<center>
<table width="104">
<td ID="head0" ALIGN="center" width="94" height="15" CLASS="HEADING" ONCLICK="ShowHide(0)">
<font color="#000000">tutorials</font></td>
</tr>
<tr>
<td ALIGN="center" bgcolor="#000000">
<!-- Menu 1 -->
<div ID="Link0" CLASS="LINKSOFF">
<font color="#FFFFFF" style="font-size: 8pt">
<a href="file:///C:/Users/MijnPC/Pictures/wilco/website/photoshoptutorials.htm">
<span style="text-decoration: none; font-weight:700">photoshop</span></a></font><br>
</div>
</td>
</tr>
<tr>
<td ID="head1" ALIGN="center" CLASS="HEADING" ONCLICK="ShowHide(1)">
<font color="#000000">nieuws</font></td>
</tr>
<tr>
<td ALIGN="center" bgcolor="#000000">
<!-- Menu 2 -->
<div ID="Link1" CLASS="LINKSOFF">
<a href="http://www......nl/">
<span style="font-size: 8pt; text-decoration: none; font-weight:700">updates</span></a><br>
</div>
</td>
</tr>
<tr>
<td ID="head2" ALIGN="center" CLASS="HEADING" ONCLICK="ShowHide(2)">
<font color="#000000">Button</font></td>
</tr>
<tr>
<td ALIGN="center" bgcolor="#000000">
<!-- Menu 3 -->
<div ID="Link2" CLASS="LINKSOFF">
<b><a CLASS="nav" href="http://www......nl/">Menu</a></b><br>
</div>
</td>
</tr>
<tr>
<td ID="head3" ALIGN="center" CLASS="HEADING" ONCLICK="ShowHide(3)" height="23">
<font color="#000000">help .....nl</font></td>
</tr>
<tr>
<td ALIGN="center" bgcolor="#000000">
<div ID="Link3" CLASS="LINKSOFF">
<font color="#FFFFFF" style="font-size: 8pt"><b>adverteren op .....nl<br>
<br>
klik op de advertentie's</b></font><br>
</div>
</td>
</tr>
</table>
<p><br>
&nbsp;</div>
</center>
</div>


<div style="position: absolute; width: 732px; height: 44px; z-index: 2; left: 127px; top: 22px" id="layer2">
<div style="position: absolute; width: 608px; height: 28px; z-index: 1; left: 58px; top: 5px" id="layer3">
<p align="center"><font size="4">
<a href="file:///C:/Users/MijnPC/Pictures/wilco/website/index.html">
<span style="text-decoration: none"><font color="#000000">Home</font>
</span></a>|| tutorials || software ||
website</font></div>
<p>
<img border="0" src="file:///C:/Users/MijnPC/Pictures/wilco/website/hoofdmenu.jpg" width="733" height="33"></div>
<p align="center">
&nbsp;&nbsp;
</p>

</body>

</html>



net zoals het menu van helpmij bijv. bij zoeken of directe links
 

Bijlagen

  • helpmij1.JPG
    helpmij1.JPG
    16,5 KB · Weergaven: 23
  • helpmij2.JPG
    helpmij2.JPG
    14,9 KB · Weergaven: 30
Laatst bewerkt:
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan