Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
76% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~16.2K People Reached
Favorite Tags
Member Avatar for turpentyne

I'm trying to take lines of text in a textarea of a form, and turn them into a query from a database. But for some reason, the variables are not showing up in the query I've constructed. Here's what I have so far: <html> <body> <?php $table_variable = $_POST['chosen_table']; $chosen_insert …

Member Avatar for diafol
0
130
Member Avatar for turpentyne

I have a bit of script for a footer section that is to expand up, when the user rolls over it - and go back down, when they are not over it. Everything works fine, it seems. But not quite in Internet Explorer. The content inside of the three "ie-curves"-classed …

Member Avatar for turpentyne
0
388
Member Avatar for turpentyne

I'm rather inexperienced when it comes to php mail scripts. I've got a working script, thanks to the PHPmailer that everyone uses. But what I want is to modify it so that I send the form info to two locations: Step one, send all information as text-only to email@location.com Step …

Member Avatar for turpentyne
0
332
Member Avatar for turpentyne

I'm trying a simple query to get students that signed up for each possible matching class, and I'm getting a weird result with this,when I print out. If they've signed up a student in one class, and a student in another class, I get the two students printing out fine. …

Member Avatar for diafol
0
207
Member Avatar for turpentyne

I'm just trying to figure out how to get everything after the first two words in a line. Right now, I've got the opposite - the first two words themself: ^(\S+ \S+) I want the opposite of this. Thanks!

Member Avatar for L7Sqr
0
236
Member Avatar for turpentyne

I've just run into a problem, when pulling location data using a link table. There can be two entries in the link table, like so: item_id | contentent | country | state ------------------------------------- 123 | 1 | 2 | 20 123 | 1 | 2 | 21 When I echo …

Member Avatar for diafol
0
173
Member Avatar for turpentyne

I'm going back to an old project to apply things I've learned. As a beginner, I was able to figure out how to change the query, based on what was chosen, but it seems like a backwards way to do it, and I'm not sure of a better way. I'm …

Member Avatar for pritaeas
0
166
Member Avatar for turpentyne

Maybe there's a better way to do this. but I thought I'd try. I want to write a simple image toggle script that would work with multiple images. When the user mouses over, change the src, using the data- attribute. Then on mouseout, revert to the original src. Is this …

Member Avatar for macgurl70
0
234
Member Avatar for turpentyne

I'm not sure if this is just a style-sheet issue, because there's a javascript component. But, what I have is a div set to cover the page, and a background image inside, set to cover. This works fine on a computer, but I noticed that it wasn't portraying correctly on …

Member Avatar for LastMitch
0
1K
Member Avatar for turpentyne

I have a script that loads in content using jquery. With the popstate/pushstate function everything is working beautifully, when they click on navigation links. But I also have some a href tags on one of the loaded pages for sliding down to anchor points on the page. This seems to …

Member Avatar for LastMitch
0
130
Member Avatar for turpentyne

This script is set to run automatically. The syntax is stuff I'm not used to. How can I change this script to run at a later point? Such as when an image loads. Or another delayed point from when the page it's on is loaded in with ajax. Like this, …

Member Avatar for turpentyne
0
223
Member Avatar for turpentyne

A problem's come back to haunt me, after reworking the page for other features. I have a page with a caroufredsel script in it to show a rotating slideshow. The page works fine on it's own. But I need it to work when loaded into an existing page. I get …

Member Avatar for turpentyne
0
110
Member Avatar for turpentyne

I'm trying to work in a script to fade out a div, load content and fade the div back in. But when the navigation links are clicked, the div fades out, then is completely removed from the DOM?? Here's the html: <head> <link rel="stylesheet" href="css/styles_default.css" type="text/css" media="screen"/> <link rel="stylesheet" type="text/css" …

Member Avatar for iamthwee
0
319
Member Avatar for turpentyne

For the sake of learning, I'm just curious how I can simplify these functions? Open to any suggestions... Please forgive all the over-commenting. $(document).ready(function() { // code for random backgorund image on page load $("#full-size-background").css("background-image", "url(images/backgrounds/" + Math.floor(Math.random()*3) + ".jpg)"); // starting point fade when "menu" clicked $("#starting_point_link").on("click", function(){ $('#starting_point, …

Member Avatar for Troy III
0
186
Member Avatar for turpentyne

I've gotten this far on setting up popstate() - a totally new thing for me. I have loaded content for each click of the navigation, and pushstate() changes the url. But it doesn't load anything when the back button is pressed. Only when I've pressed the back button enough, that …

Member Avatar for LastMitch
1
2K
Member Avatar for turpentyne

Hi... I have a simple function for loading php pages into the index.php file. I'm wanting to incorporate pushstate() so I can start making the page crawlable. But not sure how. Here's my starting point (which just gives me "http://www.site.com/undefined" // function for navigation clicks $("#top_nav li a, #footer_info").on("click", function(e){ …

Member Avatar for turpentyne
0
91
Member Avatar for turpentyne

I have a carousel that works fine on it's own, but something's killing it when I load its page into my main page. Not sure what would cause it? i'm using "Caroufredsel". Here's the main page, with script to load page based on which navigation selected. If the user selects …

Member Avatar for turpentyne
0
215
Member Avatar for turpentyne

This seems like a simple one, but I must be missing something? I want the page to slide down into view when the document loads. I thought I could do it by just wrapping the content in a div positioned off the page, and bring it down. But nothing happens? …

Member Avatar for code_rum
0
180
Member Avatar for turpentyne

I have an error showing up in IE 10 and in Chrome: The chrome version: Uncaught TypeError: Object function ( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery ); } has no method 'format' Unfortunately, I'm not …

Member Avatar for paulkd
0
225
Member Avatar for turpentyne

I just discovered that when I run my page in IE 7 - 10, this little function is killing the rest of my javascript file. Any thoughts?? if(window.location.hash) { $('#slidestart').stop().animate({ opacity: 0 }, 300, function() { $("#slidestart").css({display:"none"},100); setTimeout( function(){ $("#allbut").css({display:"block",opacity:0},100); $('#allbut').stop().animate({ opacity: 1 }, 400, function() { $('#slidestart').html('&nbsp;'); }); },255); …

Member Avatar for Troy III
0
997
Member Avatar for turpentyne

I'm trying to replace this set of if statements as an each statement. but I'm a little confused on how to do this. I just want to cycle through a series of images that have the class .hotspots and change source, after detecting whether they have one of 4 other …

Member Avatar for chr.s
0
123
Member Avatar for turpentyne

My boss has several projects where i need to change out information. I did one with an included file of several divs that are hidden/shown, depending on what the user clicks on. It got tedious. But I don't have access to mysql to set anything up. Now I'm doing another …

Member Avatar for pritaeas
0
165
Member Avatar for turpentyne

Quick question. I want to make a variable from just a section(substring?) of an id in javascript / or jquery. I've got four possible id names: link_north, link_south, link_east, link_west. I want to pull just the direction from the link to use as a variable, with this: var header_change = …

Member Avatar for LastMitch
0
113
Member Avatar for turpentyne

I have navigation, with a dropdown subnav that gives them two options (level 6 and level 10). If they click on one or the other, it loads "views.php" then uses .html to write the correct information to sections. The img src portion isn't working??? I also tried just using .html …

Member Avatar for EvolutionFallen
0
309
Member Avatar for turpentyne

I have a div that appears under a link (similar to a subnav) when that link is moused over. I want the div to fade, if they've moused away from the link UNLESS they've moused over the div. But my attempt failed: $('.tnav-views').live("mouseleave", function(event){ var timer = setTimeout(function(){ $("#view_levels_subnav").hide(); // …

Member Avatar for pixelsoul
0
99
Member Avatar for turpentyne

I have a strange little glitch only on Ipad and I'm not sure what causes it. I have some simple code on the page to load a new php file when they select a menu item. The first choice loads to the page, when they user arrives. If they click …

Member Avatar for pixelsoul
0
137
Member Avatar for turpentyne

I have some javascript in an svg file to change class, on click, so the opacity remains 1. But the change is applying to the items in the group - not the group itself? How can I apply this to the group class? I tried adding in ".parentnode" but it …

Member Avatar for turpentyne
0
167
Member Avatar for turpentyne

I have a set of rollover areas in an svg file, laid over a background image on the page. It works in just about every latest browser, but I have an issue on Safari 5.1. The alignment is off, and there's a horizontal scrollbar. The viewBox seems the right side, …

Member Avatar for LastMitch
0
165
Member Avatar for turpentyne

I have an svg object on my page, with mouseovers that call a function on the page itself (outside of the svg). This function shows/hides divs on the page by id: onmouseover="top.showit('option28')" When the page is first loaded, the divs hide/show just as they're supposed to. But I have separate …

Member Avatar for turpentyne
0
226
Member Avatar for turpentyne

I'm stumped on getting svg to show. Even the simplest thing file will not show when I upload it. When uploaded to the server at work, no problem. I uploaded the files to my own hosting space from home, to learn and test. The exact same files. Nothing works??? I …

0
78