View Full Version : scripting...
Jonny_Raincloud
09-11-2005, 05:26 PM
www.convergecult.com (http://www.convergecult.com)
when you goto the site,
and click the image,
a seperate page pops up,
with no addressbar, like a popup site...
does anyone know how to do this?
or what its called so i can do a proper search for
how to do it somewhere?
any help would really be appreciated and stuff
Pegasus
09-11-2005, 06:00 PM
It's right on the page, the code that creates the window. It's a javascript function to open a php page.
<a href="javascript:;" onClick="MM_openBrWindow('window.php?iii=2&lll=news','converge','width=640,height=480')"><img src="../mysql-splash/restinpeacebestfriend.jpg" border="0"></a>
You can, I believe, just get away with:
<a href="javascript:;" onClick="MM_openBrWindow('window.html','converge','width=640,height=480')"><img src="../mysql-splash/restinpeacebestfriend.jpg" border="0"></a>
But don't quote me on it. One of the js experts will be in before long to correct me, I'm sure. ;)
Peg
Pegs right ... the code is there;
<script type="text/JavaScript">
function popup(theURL, winName, features) {
window.open(theURL,winName,"scrollbars=no," + features);
}
</script>
<a href="javascript:;" onclick="popup('http://www.google.com','Google.com','width=640,height=480')">link</a>
('site address to load', 'page title', width, height)
Pegasus
09-11-2005, 08:03 PM
Thanks, Joe. I wasn't too sure what the second value was. I'm afraid I didn't look that closely at the page.
Peg
Jonny_Raincloud
09-12-2005, 05:30 PM
thanks a million you guys,
im terrible with javascript,
and im not the best at making html sites from scratch,
so im using geocities page builder,
to build the entire site,
and then uploading all the created files to
a comcast server so i have no popups
or banner ads
good idea?
probly not,
but im poor and i cant afford to pay for a website
ill link it up when im done
thanks again guys, seriously :rofl:
Well ... if truth be told I started out using Geocities Site Builder ... we all have to start somewhere don't we. But you could always look at a few basic HTML tutorials and work your way from there ... IMO I wouldn't rely on a program to code my site for me because there's nothing better than getting down and dirty with some code ;)
Jonny_Raincloud
09-12-2005, 05:48 PM
yeah ive never had anyone sit down and
teach me html though,
so everything i learn has to be
from tweaking code thats already made for me,
myspace helped alot with that,
i learned the basics there,
and then moved on to tables and div overlays and stuff...
html is art, and im a musician so i have an edge....
(not really, but ill keep telling myself that) :)
hammerstein_04
09-12-2005, 06:06 PM
I would imagine very few people had anyone sit down and teach them html, I taught myself, well.. I say taught myself.. I looked around, used tutorials and my curiosity. Still learning a lot though, learning something new everyday, new techniques, new methods.. css (the dark art!)
All you gotta do is give yourself time and your own patience.. when the pages start to come together it is most rewarding!
Pegasus
09-12-2005, 10:27 PM
I'm pretty much self-taught in HTML. I used to look at the code in my Dreamweaver pages to see how the page went together. I downloaded the CSS guidelines from www.w3.org and learned CSS the hard way - by reading through that mess. I'm still learning bits and pieces on all sections.
And I learn a lot from reading threads like this one.
Peg
bushie
09-12-2005, 10:50 PM
.. css (the dark art!)Now THAT is a quote!!!!!
I taught myself HTML and CSS by reading online tutorials ... then for reference I wrote everything that came in useful down into Notepad. After I started learning more code and getting better I had masses of text files so decided to create a navigation system to read through all my text files and code easily ... this soon developed into Joe2Torials :D
I still look on my site for references and code etc, it comes in quite useful when I just can't remember that little piece of code ;)
GatorSr
09-15-2005, 01:43 AM
Mostly old timers answering you. I have 10 years of hand coding with a word processor and I'm still learning things like "dark art". (dark art?) There is no instant pill so the learning curve takes time. Have at it and learn from scratch.
GeoCities is fine, but you can upload files done in other programs, so check back if you need some help.
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.