• Skip to content
  • Skip to primary sidebar

The html blog

The web sandbox

YUI-based alert box – replace your ugly javascript alert box

September 29, 2017 By thehtmlblog Leave a Comment

This tutorial will explain how you can override the default alert box of your browser, without modifying your existing code and by adding 2 lines of javascript code. Today, most reputable web hosting companies allow you to do this server-side. Those 2 famous lines After downloading the package and extracting it to your folder, add […]

Filed Under: Javascript Tagged With: alert, Javascript, message box, replacement, ugly, yahoo, yui

f-lv.com – download YouTube videos in FLV/MP4/3GP format

September 29, 2017 By thehtmlblog Leave a Comment

After playing with the YouTube API and Python over the past week, I’am pleased to announce the launch of f-lv.com You will be able to : download your favorite YouTube videos in FLV/MP4 format email the video download link to your friend have a look at a nice carousel (thanks Bill for that) with the latest downloaded videos Site is […]

Filed Under: php Tagged With: ajax, download, download youtube, flv, mp4, PHP, python, video, vlc, youtube, yui

Add RSS feeds to your website

September 29, 2017 By thehtmlblog Leave a Comment

Adding a RSS feed to your website has never been this easy with PHP, especially with MagpieRSS. About MagpieRSS MagpieRSS is an RSS and Atom parser for PHP which supports RSS 0.9, RSS 1.0, the various Userland RSS versions (0.9x and 2.0). Additionally it supports Atom 0.3, and many custom RSS namespaces. Features of MagpieRSS Easy to Use Parses […]

Filed Under: php Tagged With: magpie rss, news, parse, PHP, rss, slashdot, Tags feed, xml

Geolocate your visitors with PHP (part 2)

September 29, 2017 By thehtmlblog Leave a Comment

In the first part of this series I showed how you could get the country of a visitor via his IP address. Now with this precious information, I’ll show you how to map the visitor visually on the world map using Google Maps. You must sign up for a Google Maps API key if you don’t already have one. […]

Filed Under: Javascript, php Tagged With: geolocalisation, geolocate, google maps, Javascript, mashup, maxmind, net, Net_GeoIP, pear, PHP

SEO friendly URL in PHP

September 29, 2017 By thehtmlblog Leave a Comment

When I started implementing mod_rewrite in websites I had a problem in PHP as how to make a SEO friendly URL. All tutorials were geared towards how to implement mod_rewrite, about modifying .htaccess files, but none treated how to make the urls friendly with dynamic content. For example I have a news section which are pulled from the database, […]

Filed Under: php Tagged With: apache, clean url, french characters, friendly, html, mod_rewrite, modifier, optimization, PHP, plugin, seo, smarty, template engine, url

Expanding/collapsing javascript menu

September 29, 2017 By thehtmlblog Leave a Comment

In this post I’ll show you how to create an expanding/collapsing menu like Slashdot left menu used to be, using the YUI library and Dav GlassYUI effects widget. The HTML markup for our menu is : <div id=”menu”> <h1 id=”menu-title”>Menu</h1> <div id=”menu-links”> <ul> <li>Home</li> <li>About</li> <li>CSS</li> </ul> </div> </div> We use 2 div tags, one for holding the menu itself and the […]

Filed Under: Javascript Tagged With: collapse, dav glass, dhtml, dom, effects, expand, Javascript, menu, newbie, slashdot, tutorial, yahoo, yui

  • « Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Next Page »

Primary Sidebar

Subscribe and never miss a post

Categories

  • Hosting
  • Javascript
  • php
  • Web
  • XML

Copyright © 2021 · htmlblog.net