
thewooleymammoth
Members-
Posts
768 -
Joined
-
Last visited
Never
Everything posted by thewooleymammoth
-
doesnt matter now, did they give you slices or are you gonna try and do that?
-
im saying i want it to not cascade through the ajax folder.
-
I cant figure out/find any information on how to exclude prepends from a directory. I am using ajax and its prepending and appending my page to the ajax request. This is something i do not need. Can i add an .htaccess to /ajax/ folder to make it not be effected by the .htaccess in the original folder? If that doesnt make sense let me know.
-
Use overflow Auto but hide the scroll bars
thewooleymammoth replied to thewooleymammoth's topic in CSS Help
nevermind overflow: hidden works, and ill post the js code incase some one looking wants to do the same thing you need prototype and scriptaculous Effect.Scroll = Class.create(); Object.extend(Object.extend(Effect.Scroll.prototype, Effect.Base.prototype), { initialize: function(element) { this.element = $(element); var options = Object.extend({ x: 0, y: 0, mode: 'absolute' } , arguments[1] || {} ); this.start(options); }, setup: function() { if (this.options.continuous && !this.element._ext ) { this.element.cleanWhitespace(); this.element._ext=true; this.element.appendChild(this.element.firstChild); } this.originalLeft=this.element.scrollLeft; this.originalTop=this.element.scrollTop; if(this.options.mode == 'absolute') { this.options.x -= this.originalLeft; this.options.y -= this.originalTop; } else { } }, update: function(position) { this.element.scrollLeft = this.options.x * position + this.originalLeft; this.element.scrollTop = this.options.y * position + this.originalTop; } }); function moveTo(container, element){ Position.prepare(); container_y = Position.cumulativeOffset($(container))[1] element_y = Position.cumulativeOffset($(element))[1] new Effect.Scroll(container, {x:0, y:(element_y-container_y)}); return false; } you can see a demo of it working here: http://digitalart.ericwooley.com its on the images to the left. i originally got the code from here http://elia.wordpress.com/2007/01/18/overflow-smooth-scroll-with-scriptaculous/ -
I want to use scriptaculous to create a scrolldown on mouse over feature. So i need the div to allow the scroll, however i dont want the actual bars. anyone know how to do this?
-
I like it, did you really create that? That will be pretty hard to splice out if you dont have experince splicing for html.
-
.htaccess mod rewrite help pls!
thewooleymammoth replied to thewooleymammoth's topic in Apache HTTP Server
awesome thank you very much. -
.htaccess mod rewrite help pls!
thewooleymammoth replied to thewooleymammoth's topic in Apache HTTP Server
k i figured out why, cause i was testing with the url /tom/2/ and since 2 isnt a a-z it wasnt working. My question now is, how do i get it to redirect to just /tom/ if there is no 2 that trails, do i just add the line over and over and over again? also im getting a strange occurance <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on #RewriteBase / RewriteRule ^(.*.)/$ index.php?page=$1 RewriteRule ^(.*.)/(.*.)/$ index.php?page=$1&v2=$2 RewriteRule ^(.*.)/(.*.)/(.*.)/$ index.php?page=$1&v2=$2&v2=$3 </IfModule> is my .htaccess foreach($_GET as $k=>$v) echo "$k - $v <br />"; is my relavent page code. When i just do the first url EX: /tom/ I get page - tom When i go to /tom/2/ i get page - index.php v2 - 2 which is really weird to me. Why is it switching from "tom" to "index.php"? Im still pretty new to this so this is very frustrating :*( -
.htaccess mod rewrite help pls!
thewooleymammoth replied to thewooleymammoth's topic in Apache HTTP Server
So This works, RewriteEngine on RewriteBase / RewriteRule ^([a-z]+)/$ index.php?page=$1 [L] but this does not RewriteEngine on RewriteBase / RewriteRule ^([a-z]+)/([a-z]+)/$ index.php?page=$1&v2=$2 [L] can anyone help me figure out why? -
I dont need any help, but i wanted to know what different experts use to validate input. example: <?php $info = is_numeric($_GET['non_numeric_malicious_code']); if(filter_var($_GET['non_email_malicious_code'], FILTER_SANITIZE_EMAIL) $e_mail = $_GET['non_email_malicious_code']; ?> What do you use?
-
New website for web design
thewooleymammoth replied to liamloveslearning's topic in Website Critique
isnt that dude on here with the red hair in brittain, adam something? -
New website for web design
thewooleymammoth replied to liamloveslearning's topic in Website Critique
I agree with your point but i think google is, what is bigger? -
php url for more results per page?
thewooleymammoth replied to coolhotfun's topic in PHP Coding Help
no sir, go away -
php url for more results per page?
thewooleymammoth replied to coolhotfun's topic in PHP Coding Help
i dont think you can just expect us to figure it out. Its facebooks code, it might not even be possible -
You have to have curl installed. CHeck with your server company http://php.net/manual/en/book.curl.php
-
php url for more results per page?
thewooleymammoth replied to coolhotfun's topic in PHP Coding Help
research get variables -
if you created a virtual server that ran php and had extremely limited installation of php... you could do it. But why? and it would probably be hacked eventually.
-
you might be able to with js if you put the page in a frame, ubt i dont know for sure
-
New website for web design
thewooleymammoth replied to liamloveslearning's topic in Website Critique
call us now on... seems kinda unprofessional also also, try "call toll free:" -
oh k, well hopefully its over.
-
New website for web design
thewooleymammoth replied to liamloveslearning's topic in Website Critique
i went back and lookeda tyour flash thing, its actually pretty cool. I like it. -
New website for web design
thewooleymammoth replied to liamloveslearning's topic in Website Critique
firebug is awesome for debugging js, and http://w3schools.com/js/ (hopefully that link works) is a great place to start. -
what anti-virus do you use? thats not really a standardized virus name. It looks like it was a pdf-exploit though (one of the infamous one from before the patch for acrobat reader? ) weird name though.
-
New website for web design
thewooleymammoth replied to liamloveslearning's topic in Website Critique
you have a javascript error required is not defined form.php()form.php (line 6) [break on this error] required.add('fullname', 'NOT_EMPTY'); (line 6) -
New website for web design
thewooleymammoth replied to liamloveslearning's topic in Website Critique
thee are javascript sliders out there that look just as good as the flash one you are using.