Jump to content

Webkiller

Member
  • Posts

    53
  • Joined

  • Last visited

Posts posted by Webkiller

  1. Sounds like you have a #whatever at the end of your link? But first why do you have a iframe on your index page? Can you do the same without it?

     

    Yeah the # is my anchor. I am starting to like it now the fact it gets pulled down so I left like this. Thanks for the help. I can do without out it buts its a way to get attention to another page.

  2. Iframe problem I am having. I inserted a Iframe on the main Index page and anchored the iframe so it would scroll to a certain part of page. I thought that was that but heres my problem!

     

    When I enter the main index page it takes me down to the Iframe on Loading of Page/refresh and scrolls to anchored text in my iframe.

     

    It makes my whole main index page scroll down to the Iframe and waits for the Iframe to scroll to the ancored text.

     

    I want the main index page to stay at the top and not scroll down to the Iframe to watch it scroll itself.

     

    Thanks in advance for all the generous help!

  3. Meta refresh redirects have been used by spammers to fool search engines. So search engines remove those sites from their database. If you use a lot of meta refresh tags to redirect pages, the search engines may decide your site is spam and delete it from their index.

     

    Below is just a refresh with no redirect.

     

    <meta http-equiv="refresh" content="600">
    

     

     

    600 the amount of time in seconds the browser should refresh page.

  4. Beedev you were right I needed to change something and it was the table. I renamed the table not the database.

     

    Now everything works fine. The wording of the last table in the database above would not make it function.

     

    NEW PROBLEM

     

    I see the posts being recoded in the database but each refresh of the page on the site its not holding each person comments.

  5. Ajust this also

     

    
    //Slideshow Next Slide
    function nextslide() {
    	if($.inAnimation) return false;
    	else $.inAnimation = true;
        var options = $.extend($.fn.supersized.defaults, $.fn.supersized.options);
        var currentslide = $('#supersize .activeslide');
        currentslide.removeClass('activeslide');
    
        if ( currentslide.length == 0 ) currentslide = $('#supersize a:last');
    
        var nextslide =  currentslide.next().length ? currentslide.next() : $('#supersize a:first');
        var prevslide =  nextslide.prev().length ? nextslide.prev() : $('#supersize a:last');
    
    
    	//Display slide counter
    	if (options.slide_counter == 1){
    		var slidecount = $('#slidecounter .slidenumber').html();
    		currentslide.next().length ? slidecount++ : slidecount = 1;
    	    $('#slidecounter .slidenumber').html(slidecount);
    	}
    
    	$('.prevslide').removeClass('prevslide');
    	prevslide.addClass('prevslide');
    
    	//Captions require img in <a>
        if (options.slide_captions == 1) $('#slidecaption').html($(nextslide).find('img').attr('title'));
    
        nextslide.hide().addClass('activeslide')
        	if (options.transition == 0){
        		nextslide.show(); $.inAnimation = false;
        	}
        	if (options.transition == 1){
        	[b]	nextslide.fadeIn(750, function(){$.inAnimation = false;});[/b]
        	}
        	if (options.transition == 2){
        		nextslide.show("slide", { direction: "up" }, 'slow', function(){$.inAnimation = false;});
        	}
        	if (options.transition == 3){
        		nextslide.show("slide", { direction: "right" }, 'slow', function(){$.inAnimation = false;});
        	}
        	if (options.transition == 4){
        		nextslide.show("slide", { direction: "down" }, 'slow', function(){$.inAnimation = false;});
        	}
        	if (options.transition == 5){
        		nextslide.show("slide", { direction: "left" }, 'slow', function(){$.inAnimation = false;});
        	}
    
        $('#supersize').resizenow();//Fix for resize mid-transition
    
    }
    

  6. Can anyone tell me why the fade is not working in between the different images. It was working on the demo

    http://180virtual.com/supersized2/default.php,

    but once I put my pics in it stopped. The js is set to Fade.

    http://180virtual.com/supersized2/cr-supersize.php

    the js file is at

    http://180virtual.com/supersized2/supersized.2.0.js

     

     

    Go all the way down in your supersize .js file to this: Ajust as needed.

     

     

    //Captions require img in <a>
        if (options.slide_captions == 1) $('#slidecaption').html($(nextslide).find('img').attr('title'));
    
        nextslide.hide().addClass('activeslide')
        	if (options.transition == 0){
        		nextslide.show(); $.inAnimation = false;
        	}
        	if (options.transition == 1){
        		[b]nextslide.fadeIn(750, function(){$.inAnimation = false;});[/b]
        	}
        	if (options.transition == 2){
        		nextslide.show("slide", { direction: "down" }, 'slow', function(){$.inAnimation = false;});
        	}
        	if (options.transition == 3){
        		nextslide.show("slide", { direction: "left" }, 'slow', function(){$.inAnimation = false;});
        	}
        	if (options.transition == 4){
        		nextslide.show("slide", { direction: "up" }, 'slow', function(){$.inAnimation = false;});
        	}
        	if (options.transition == 5){
        		nextslide.show("slide", { direction: "right" }, 'slow', function(){$.inAnimation = false;});
        	}
    
        	$('#supersize').resizenow();//Fix for resize mid-transition
    }
    

  7. try renaming the table in your database, rather than altering the code to match. I'm not sure how the spacing will be handled when trying to connect this way.

     

    Also, it doesn't look like your selecting the database to write to. try inserting this just before the 'INSERT INTO'

     

    mysql_select_db("bestado2_table");

     

    In fact, try doing just this, to be assured that your conecting to the Database at all:

     

    <?php
    mysql_connect("localhost","EdwardBrown3236","buckeye3") or die(mysql_error());
    echo "Connected to MySQL<br />";
    mysql_select_db("bestado2_table") or die(mysql_error());
    echo "Connected to Database";
    ?>
    

     

    Once again, I would rename the table in the database to 'comments' rather than 'CREATE TABLE comments' as this will probably cause headaches and confusion down the road. (If not already).

     

     

    Everything is fine connecting to Local Host and database like I posted in the previous post. It echoed back to me on my site saying it was connected. I will try and rename the table in the database to see if that works. The ---- was just for this site so everyone didnt see it.

     

    I should also point out, just in case, that the two "//" on this line:

     

    //mysql_query("INSERT INTO CREATE TABLE comments (name,email,comment) VALUES ('$name','$email','$comment') ") ;

     

    turn that line into a comment, meaning that line never actually runs. If you need it to work, you'll need to remove "//".

     

    Yeah I tryed that already and nothing works. With the // its hidden text.

  8. Assuming the mysql_connect line is creating the connection fine (if not, you need to check your mysql username or password) the second step is to select the database you want to work with. You have to do that before you can insert records.

     

    http://www.tizag.com/mysqlTutorial/mysqlconnection.php

     

    As a sidenote, make sure you are sanitizing any data that is retrieved from the form. That's one of the key principles of web development -- never trust user input. I'd run any user input through mysql_real_escape_string(), or look into using prepared functions with MySQLi to help prevent security issues.

     

    Also, why are you using md5() on the email?

     

    Ok thanks for the help. I use md5 encryption for a Apache server. It echoed back on my site that its connected to the host and database. I changed it also to CREATE TABLE comments and still no dice.

     

     

    Well the obvious thing i guess is:

     

    In your screenshot the table name is "CREATE TABLE comments". That's not matching the table name in your PHP script: "comments".

     

    Thanks yeah I missed that. I really thought that was going to fix it hmm.

     

     

     

    <?php
    if($_POST)
    {
    $name=$_POST['name'];
    $email=$_POST['email'];
    $comment=$_POST['comment'];
    
    $lowercase = strtolower($email);
     $image = md5( $lowercase );
    
    mysql_connect("localhost", "-------", "-------") or die(mysql_error());
    echo "";
    mysql_select_db("-------") or die(mysql_error());
    echo "";
    
    //mysql_query("INSERT INTO CREATE TABLE comments (name,email,comment) VALUES ('$name','$email','$comment') ") ;
    
    }
    
    else { }
    
    ?>
    

     

     

    The information is just not getting held in the database. Do you see anything wrong with the table screenshot?

  9. Heres is what I have put together so far for the PHP script. Below is database screen shot.

     

    I would like to hear all ideas. I am stuck as can be so thanks in advance.

     

    Michael :)

     

    <?php
    if($_POST)
    {
    $name=$_POST['name'];
    $email=$_POST['email'];
    $comment=$_POST['comment'];
    
    $lowercase = strtolower($email);
     $image = md5( $lowercase );
    
    mysql_connect("localhost","EdwardBrown3236","buckeye3");
    
    //mysql_query("INSERT INTO comments (name,email,comment) VALUES ('$name','$email','$comment') ") ;
    
    }
    
    else { }
    
    ?>
    

     

     

    2yki4ie.png

  10. To be honest, I would consider dropping it completely from that page. I can't really see how it belongs on the "About" page -- a user who visits that page is looking for information about you/your company, not for flashy tech demos. The average user probably has no idea what the canvas element is, why it isn't supported in IE, etc, and frankly probably doesn't care. If you want to keep that element, maybe it belongs on a page specifically for tech demos/experimentation?

     

    Your right added the experiments to the web design page. Yes I agree the average user really doesn't care about canvas so put it under graphic design to make it more user friendly.

     

    Dude, nooooooooo...I just noticed that your About page Team pictures rotate, and that they're Flash. Come on bro, if you want those effects, use jQuery, a lot less resources spent and after it's done the recourses are freed.

     

    Anyway, back to the topic on hand, I agree with falkencreative. You should have a tech directory/page for stuff like that. In my site, I have a "Testing" navigation link, which isn't setup yet but that's where I'm going to do all my cool technologies testing.

     

    JQery doesnt function as good as adobe I tried it out already awhile back. Less resources? I feel like the jquery is eating my bandwidth x2 compared to adobe flash.

  11. This may be a silly question, but are you sure that the canvas element is supported by IE? I was under the impression that it wasn't, which may be the source of your issue.

     

    http://en.wikipedia.org/wiki/Canvas_element - says that the canvas element isn't implemented in IE6-8, though I'm guessing it may be in IE9?

     

     

    Well IE9 beta does not work either. It blocks the whole thing and rejects it. Reading up on it Microsoft does not have plugins to support it. Another F- for IE.

     

     

    I will have to link it off to another page and warn people that its only supported in certain browsers.

  12. I need help with a .js script that wont function in IE. Its telling me there is something wrong with Line 5 Char 2.

     

     

    I have a screen shot for you showing the lines. Char 2 is located right before the P at the start of line 5.

     

     

    Any ideas is much appreciated and it works fine in Chrome and Firefox.

     

    View it at the bottom of the about page http://www.bestad.org/about.php Its the cloth with a picture of me blowing in wind when moved.

     

    Screen Shot:

     

    33w8miw.png

  13. Here is a nice 3D pixel Twirl with Javascript on anyones website.

     

     

    Experimenting always brings rewards!

     

    So go to the persons website you want make sure they have alot of images.

     

     

    Delete the address bar and insert: javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

     

    Press Enter now

     

    ENJOY!

  14. I had received an email from one of our clients today, a field that is required on the online form was left blank when they received the email from the site. I knew it had to been an issue with the validation, since I didn't add any server side validation. (I know I know, bad. This was built several months ago before I was really into site perfection, I just did the task at hand and didn't improve it, man those were the bad days). So I dug into the issue, found out that IE6 was the culprit, which wasn't a big surprise. So I added some server side validation and all was well, and this is where I'm at a cross road...

     

    (For months now I've been trying to get my boss into the "newer" technologies of the web, but he's stubborn like me in his ways. Don't get me wrong, we're not using outdated stuff, I just want to be on the front line. I've finally was able to get him to the point of considering jQuery last month. This month, we've deployed two jQuery functions into our site which gives great SEO and user functionality. I've also been talking to him about dropping IE6 support since it's a pain in the arse, and he's on board with that one.)

     

    So anyway, back to the point, sorry for rambling. I have script that detects the browser and version, and if it detects IE6 then it displays an unobtrusive popup with links to other browsers and IE8. My boss and I were discussing what to do with the site if a user is using IE6, do we allow them to use the site and when that popup comes up warn them that their experience on the site won't be as great? Or disallow access until they upgrade? What is the best solution? I'm leaning toward letting them to continue use the site but warn them that they're using an outdated browser. Especially since some people are wary of upgrading/new browsers or like how they have their current one setup. It wouldn't be fair to them if we blocked total access, but a nice warning should be alright.

     

    I know I'm no professional in my industry, but I try to do things that the pro's do. I want to get the community thoughts on the issue before going to my boss and discuss what we should do.

     

    Anything is appreciated!

     

    Thanks!

     

    I would warn them that their experience might not be great and upgrading to current IE is best for viewing sites around the web.

  15. Try that out my friend.

     

     

     

    
    <h1 class="entry-title">Menu</h1> 
    
    			<div class="entry-content"> 
    		<div class="item"> 
    <h2><a href="/grinders/menu/grinders">Grinders</a></h2> 
    <p><a href="/grinders/menu/grinder" style="height:100px;width:500px;position:absolute;text-indent:-9999px;">Choose from our wide variety of hot baked sandwiches, each made to order according to W.G. Grinders exclusive recipe.</a></p></div> 
    <div class="item"> 
    <h2><a href="menu/stromboli">Stromboli</a></h2> 
    <p><a href="menu/stromboli" style="height:100px;width:500px;position:absolute;text-indent:-9999px;">Lorem ipsum…</a></p></div> 
    <div class="item"> 
    <h2><a href="menu/baked-pasta">Baked Pasta</a></h2> 
    <p><a href="menu/baked-pasta" style="height:100px;width:500px;position:absolute;text-indent:-9999px;">Lorem ipsum…</a></p></div> 
    <div class="item"> 
    <h2><a href="menu/totally-baked-pizzas">Totally Baked Pizzas</a></h2> 
    <p><a href="menu/totally-baked-pizzas" style="height:100px;width:500px;position:absolute;text-indent:-9999px;">Lorem ipsum…</a></p></div> 
    <div class="item"> 
    <h2><a href="menu/salads">Salads</a></h2> 
    <p><a href="menu/salads" style="height:100px;width:500px;position:absolute;text-indent:-9999px;">Our Signature Salads make the perfect addition…</a></p></div> 
    <div class="item"> 
    <h2><a href="menu/sides">Sides</a></h2> 
    <p><a href="menu/sides" style="height:100px;width:500px;position:absolute;text-indent:-9999px;">Add a side or make it a combo…</a></p></div> 
    <div class="item"> 
    <h2><a href="menu/soups">Soups</a></h2> 
    <p><a href="menu/soups" style="height:100px;width:500px;position:absolute;text-indent:-9999px;">Lorem ipsum…</a></p></div> 
    <div class="item"> 
    <h2><a href="menu/gourmet-desserts">Gourmet Desserts</a></h2> 
    <p><a href="menu/gourmet-desserts" style="height:100px;width:500px;position:absolute;text-indent:-9999px;">Enjoy a…</a></p></div> 
    <div class="item"> 
    <h2><a href="menu/kids-menu">Kids’ Menu</a></h2> 
    <p><a href="menu/kids-menu" style="height:100px;width:500px;position:absolute;text-indent:-9999px;">Kids love…</a></p></div> 
    	</div><!-- end .entry-content --> 
    
    

  16. I think that would be a great idea to do it based on not only rank but activity. A nice alert pop up on a mouse over would be awesome never seen it done before on a forum.

     

    Why do you have this meta tag in index on Killer Sites? <meta name="MSSmartTagsPreventParsing" content="true">

  17. Just exactly what generation are you in? You're making young developers like me seem like nothing more than copy/paste kings and queens. Yes, I do look at peoples source code to see exactly what it is they're doing (or trying to do), but if I like it, I replicate it myself. I just rolled out a feature to my companies site that is a mash-up of two different controls.

     

    You should be proud of the code you write, I know I am of mine. If people copy my code, I get excited, it means I did a good enough job to impress them and they want what I've done. But again, to each his own.

     

    Keep up the good work.

     

     

    I am twenty two how old are you? Ok Kyle I did your changes with the contact column. I put in the actual number, location and fax. I also put in links to reference them. Losing links on the index lowers the SEO.I think it looks good!

     

    Check the about page also I added a poll so please vote. I put the PHP IP memory in the backend so only one vote. Like the CSS3 round corners?

     

    Thanks again Kyle. Please tell me your business site and your friends forum. I can check them out.

  18. W3.org has 2 errors on its inner page. :lol:http://www.w3.org/Consortium/Member/List

     

     

     

    FYI, "<!DOCTYPE html>" is the HTML5 doctype.

     

    I'm not sure what you are seeing on the Google site, but I'm seeing a "<!doctype html>" doctype.

     

    Yeah I see it now I had a bunch of tabs up and missed it thanks.

     

    Of course Google and YouTube is going to be using HTML 5, two of the major sites that are. Another reason why these major sites don't pass W3c validation is most likely because they use custom toolkits to build and render the pages and use outdated methods. Since W3c validation is good, it doesn't have to be done, which is why a lot of them don't worry about it.

     

     

    I like my sites to validate with W3c standards, I really don't know why, but that's just me. At my work, I'm still updating our toolkit which uses older methods of creating javascript (Inserting the "language" attribute in the script tag, using the "name" attribute on images instead of "id", etc), and the home page has 54 errors which is a lot less than the interior pages.

     

    It was not just their custom toolkits that were showing errors but I agree.

  19. I thought these sites would pull all the stops for WC3. That was a joke so heres what I found in indexs.

     

     

     

    AOL www.aol.com Index - 421 Errors and wow 297 warnings - Written in XHTML.

     

     

    Ebay is still in HTML with 214 errors.

     

     

    CNN still in HTML and has 85 errors and 27 warnings.

     

    Fox is in XHTML and has 63 errors and 18 warnings.

     

     

    HAHAHAHAHAHHAHAHAHAHHAHAHAHAHAHHAHAHAAH ----- www.microsoft.com is still emulating IE 7 because it messes up in 8 and 9 looks like.... TOOO funny. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

     

    Microsoft is in XHTML and has 104 errors and 31 warnings.

     

    Google's comes in with 40 errors and 2 warnings.

     

    Bing is in XHTML and comes in with 12 errors on its 23 line index.

     

    Yahoo is still HTML with 1000 plus lines on index and comes in with 166 errors and 33 warnings.

     

     

     

    Add to the list folks if you want. I will try and build it more over time. B)

     

     

    Adding to List at 12:23

     

    Major Bank Chase written in HTML comes in with 119 Errors and 51 Warnings.

     

    You Tube Written in HTML but weird in the fact it just put this at Doctype <!DOCTYPE html> nothing else. Huge Spaces in its lines with nothing must slow it down.... Lets see 154 Errors and 4 warnings.

     

    Facebook is written in XHTML and comes in with 11 errors.

×
×
  • Create New...