Jump to content

defeated

Members
  • Posts

    246
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://www.serpstone.com

Profile Information

  • Gender
    Not Telling

defeated's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. Hi Muddy, That's what I was thinking, but there are two sets of script tags within the google code and I don't want to send the solution to the client without being sure it's going to work. In theory it would, but I'm just not hot enough on JS to know for sure.
  2. Hi, Javascript isn't my thing at all. However in this instance I have to use javascript instead of php. I'm trying to add some Google experiment code to just some pages of a site. Here's what I have so far... <script type=“text/javascript”> var theUrl = window.location.href; var lWr=theUrl.toLowerCase(); if(lWr.indexOf(‘the/page/path’) >=0){ <!-- Google Analytics Content Experiment code --> <script>function utmx_section(){}function utmx(){}(function(){var k='63538864-5',d=document,l=d.location,c=d.cookie; if(l.search.indexOf('utm_expid='+k)>0)return; function f(n){if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c. indexOf(';',i);return escape(c.substring(i+n.length+1,j<0?c. length:j))}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;d.write( '<sc'+'ript src="'+'http'+(l.protocol=='https:'?'s://ssl': '://www')+'.google-analytics.com/ga_exp.js?'+'utmxkey='+k+ '&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='+new Date(). valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+ '" type="text/javascript" charset="utf-8"><\/sc'+'ript>')})(); </script><script>utmx('url','A/B');</script> <!-- End of Google Analytics Content Experiment code --> } </script> Obviously that doesn't work, but I can't figure out how to make it work. Help please.
  3. Thanks KevinM1, I've added the display:none; Can't believe I didn't think of that as a solution! The flowers need to stay in the header so that there is a graphical display of their work no matter what page you land on. Same goes for the social media. The right col social media box will not be on all pages as it is now. It may not be on any in fact. I will go back to them about the fonts and colours (contrast). The footer is absolutely positioned on everything but the ipad and iphone because it doesn't work properly there. The footer looking like that was a stipulation. The only other alternative would be to create a scrolling mid section that doesn't reach the footer, but I'm not convinced by that as an approach, particularly because I would have to cater for different screen resolutions. My little netbook only has 600px depth. The header is a LOT bigger than I originally designed it. This was because the client wanted the logo to be much bigger than I had it. Thanks. That's lots of food for thought.
  4. Thanks Sunfighter. I guess what I really want to know from people is, if it was their wedding and they were looking for wedding flowers, what, if anything would you be looking for on the site that isn't there. Is there anything you would automatically look for that you cant find that may lead you to go to another site without getting in contact. Design is one thing on a site, but it's very easy to overlook things that would add to or take away from usability.
  5. Hi, One more site for you... this one is a wedding flowers site that is based on wordpress. The theme is custom. If you were looking for a wedding florist would you use this company based on the site. The site is very new and needs a lot more content, but I want to see if people find it inviting or would prefer something else. Cheers.
  6. Thank you all for the feedback. The main slider is indeed nivoslider. It seems that the general consensus is that there is too much movement even though there are differing opinions on what should and should not be moving. Your feedback is in perfect time for my meeting later today. Overall I'm delighted. The feedback is much more positive than it was for the last version of the site. It looks like we have gone from one extreme to the other.... the last one had no movement at all. Does anybody else think the "connect with us..." bit is OTT? We thought it was cute and different, but it's hard to be objective when you are in the middle of creating it! I like the idea of only moving the testimonials on a hover, but the problem is a lot of them are very long so they won't fit to a standard box size at all. Similarly, with the main slider, we were finding that people were never reading a lot of the information on the page because it was far too long. The slider let us highlight more of the page content. That said, the whole page will be rewritten soon, we just didn't want to change too much too fast and risk dropping in Google. The layout change went fine though with no drop. The heartbeat will definitely be staying since it was specifically requested. Thanks for everything so far. Looking forward to hearing more feedback!
  7. I agree on the movement thing, but I've been overruled. Didn't test in ie7... have just had a look using browsershots. Ouch. Looks like there's two problems, one with the hot jobs section and another with ie7 clearly not recognising display:table; in the main section. That's 200 visitors a month getting short changed. Grrrrr. Thanks Floridaflatlander.
  8. I like the site but there is one really important thing missing.... How much? Related to that is .. How Many? I may like the look of your videos, but without finding out how much it's going to cost and for how many lessons I'm going to go somewhere else... within a minute. I'm not going to go looking for it either. If I don't see it I'm moving on. I hope it works out for you. Ian.
  9. I also do not think that the button will get noticed. While you have spent a long time looking at the picture and it seems obvious, the rest of the world is more likely to just glance at the picture. It doesn't tell people any information that is relevant to what they are looking for. If the picture represents your team, why not make each person clickable and bring up a short profile on them. If you want to keep it fun then add in hobbies or nicknames or something to the profile. Use ajax to create a hover box so that users don't have to leave the page to get the information. Then explicitly write below or above the picture "Hover to learn more about us" or something.
  10. Hi, I'd be really grateful if I could get some feedback on a redesign of our medical jobs website. This is its third incarnation. There is still quite a bit to be done as far as we are concerned, but it would be great to have some feedback on how we are doing so far and get some ideas for what we could do to make it more user friendly too. Cheers. Ian
  11. I really like it! I do find the left box text change a little jarring, but you have to work with what the client wants and it's not too cluttered and looks great to my mind.
  12. Hi, Could somebody please explain to me why the following code returns a 400 error. I've been sitting looking at it for hours and I can't see anything wrong with it, but then again I don't know too much about cURL. <?php // INSTANTIATE CURL. $curl = curl_init(); // CURL SETTINGS. curl_setopt($curl, CURLOPT_URL, "http://twitter.com/statuses/user_timeline/96966578.xml"); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 0); // GRAB THE XML FILE. $response = curl_exec($curl); // Get information about the response $responseInfo=curl_getinfo($curl); // Close the CURL connection curl_close($curl); curl_close($curl); // Make sure we received a response from Twitter if(intval($responseInfo['http_code'])==200){ // Display the response from Twitter $content .= "Success code response:". $response; }else{ // Something went wrong $content .= "Error: " . $responseInfo['http_code']; } // SET UP XML OBJECT. $xmlObjTwitter = simplexml_load_string( $response ); $content .="<h3>Your last 10 twitter posts....</h3>\n" ; $content .= "<ul> \n"; $tempCounter = 0; foreach ( $xmlObjTwitter -> item as $item ) { // DISPLAY ONLY 10 ITEMS. if ( $tempCounter < 11 ) { $content .= "<li><a href=\"{$item -> guid}\">{$item -> title}</a></li> "; } $tempCounter += 1; } $content .="</ul>\n"; echo $content ; ?>
  13. Thank you for clearing that up. Delighted that strtotime() takes into account time zones. The storage will not be a problem because the values are only stored in the db long enough to create a new rss feed of the last 5 posts from all aggregated feeds (select * from table order by pubDate desc). I have a feed reader that posts to twitter. When it calls my aggregation page it calls it as feed_whatever.xml and I use mod rewrite in .htaccess to call aggregate.php?id=whatever Then the page reads all feeds associated with 'whatever' from a table, puts the contents of those feeds into a temp table and calls out the last 5 entries ordered by date (thus an aggregated feed). It then places those entries into xml format as a new feed. It reads that feed and posts any new entries to twitter.
  14. Thanks, In the end I went for $pubDate = mysql_real_escape_string($pubDate); $pubDate = date("Y-m-d H:i:s", strtotime($pubDate)); which I doubt does what I was asking for (taking into account time zones), but at least it works. If anybody can tell me if it will take time zones into consideration I'd be grateful.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.