[-_-] Posted November 26, 2007 Share Posted November 26, 2007 Hi I'm trying to get my php menu to be thinner in all browsers with an image background behind the links but this is the best I could do so far without having that IE window scroller show up in the frame. http://www.plentyoftorrents.com/result.php I'd like it to be just wide enough to have the menu bar from the front page and the current links that are on the menu.php which is at the top of the results page. The menu shows up when you make a search on the main site and you click the site links in the menu to try your search again on another site without having to type it. http://www.plentyoftorrents.com Any help would be appreciated. The results page contains the frame information so heres the source for that. <?php // grab the search query and request site from the url $q = $_POST["q"]; $site = $_POST["site"]; // here we use a switch statement to define our url switch ($site) { case "Mininova": $url = "http://www.mininova.org/search/?search=". $q; break; case "Btjunkie": $url = "http://btjunkie.org/search?q=". $q; break; case "Isohunt": $url = "http://isohunt.com/torrents/?ihq=". $q; break; case "Torrentspy": $url = "http://www.torrentspy.com/search?query=". $q ."&submit.x=0&submit.y=0"; break; case "btscene": $url = "http://www.btscene.com/search.php?term=". $q ."&cat=0"; break; case "Sumotorrents": $url = "http://www.sumotorrent.com/searchResult.php?search=". $q; break; case "Torrentportal": $url = "http://www.torrentportal.com/torrents-search.php?search=". $q; break; case "Torrentvalley": $url = "http://www.torrentvalley.com/search.php?search=". $q . "&x=0&y=0&act=1&cat=0&trss=1"; break; case "Fenopy": $url = "http://fenopy.com/?keyword=". $q . "&select=0&order=0&sort=0&minsize=&maxsize=&search.x=0&search.y=0&search=Search"; break; case "Fulldls": $url = "http://www.fulldls.com/search-all-torrents/?qa=". $q; break; case "EZ-TV": $url = "http://www.eztv.it/index.php?search=".$q; break; case "Bittorrent Monster": $url = "http://www.btmon.com/torrent/". $q; break; case "Torrentz": $url = "http://www.torrentz.com/search?q=". $q. "&x=0&y=0"; break; case "The Pirate Bay": $url = "http://thepiratebay.org/search/". $q. "/0/3/"; break; } // finally create the code for the actual frames. This is simple HTML with the search query and site put into the menubar's url so we can change it later if wanted. ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Click Above Links To Try Search Again</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <frameset rows="10%, 90%" frameborder="0" noresize="noresize" scrolling="no" marginwidth="0" marginheight="0"> <frame src ="menu.php?site=<?php echo $site; ?>&q=<?php echo $q; ?>" /> <frame src ="<?php echo $url; ?>" name="result"/> </frameset> </head> <body> </body> </html> Quote Link to comment Share on other sites More sharing options...
dewey_witt Posted November 26, 2007 Share Posted November 26, 2007 making this a lil less spread out and readable would be easier for us to view and help. O.o Quote Link to comment Share on other sites More sharing options...
[-_-] Posted November 26, 2007 Author Share Posted November 26, 2007 ok sorry I'll edit it. HTML kit keeps making huge blank spaces on me even when I correct it. Quote Link to comment Share on other sites More sharing options...
dewey_witt Posted November 26, 2007 Share Posted November 26, 2007 Which html kit? O.o Quote Link to comment Share on other sites More sharing options...
[-_-] Posted November 26, 2007 Author Share Posted November 26, 2007 http://www.htmlkit.com/ Quote Link to comment Share on other sites More sharing options...
[-_-] Posted November 26, 2007 Author Share Posted November 26, 2007 It wont let me edit it. \any way heres the html part of it. break; } // finally create the code for the actual frames. This is simple HTML with the search query and site put into the menubar's url so we can change it later if wanted. ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Click Above Links To Try Search Again</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <frameset rows="10%, 90%" frameborder="0" noresize="noresize" scrolling="no" marginwidth="0" marginheight="0"> <frame src ="menu.php?site=<?php echo $site; ?>&q=<?php echo $q; ?>" /> <frame src ="<?php echo $url; ?>" name="result"/> </frameset> </head> <body> </body> </html> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.