Skip to main content

Posts

Hiding Sidebar On Certain Page

In WordPress, a Page is used to display information other than regular posts and it lives outside of the normal blog chronology. In the default Kubrick theme there are 3 Page Templates that can be used to display the content of a Page: page.php - Default Page Template, displays Page content archives.php - ignores Page content and instead displays a list of Archives links.php - ignores Page content and instead displays your links So which Template does WordPress use to display the content of a particular Page? WP will search your theme's files for templates and use the first one it finds in this order: The Page's selected Page Template page.php index.php Now you probably don't want to remove the sidebar from page.php because that will remove it from ALL Pages using that Template. So, we simply create a new Page Template and assign it to the Page that you don't want the sidebar to appear in. This is not as difficult as it sounds. Simply create a duplicate of your ...

lagn mhanje kay ...

“Accordion”-4

This is an ‘Accordion’ Script. So-called ‘Accordion’ is a drop-down panel that holds some additional content. JavaScript In order to make the script work, the index-#.html file with a gallery should contain these lines of HTML code: accordion-4-1 The section of the index-#.html file contains these lines of code that initialize the script functionality with basic values: accordion-4-2 In this block of coding we specify the id of the accordion button – #link and its actions. When the button is clicked the class link2 is applied to the button, and the action for an element with the id #dropdown_box is triggered. HTML Below you can see general HTML script representation: accordion-4-3 header-banner-right – class defines the height and position when the box with the content is hidden (closed) #link – this class is used for the button element #dropdown_box – this id should be assigned to a box with the content CSS You can find script related stylesheet in the main style....

How to embed flash intro in HTML

There are several methods of embedding Flash elements into HTML pages. 1st method: To embed the Flash intro that you just edited into an HTML page, you should go back to your Flash program and do the following steps: Step 1 Choose “File > Open”. Open the Flash intro you have modified. Step 2 Choose “File > Export Movie” or press “CTRL + SHIFT + ALT + s” Step 3 Name the file “intro.htm”. Choose the location where the file is to be stored (in your HTML folder). Click “OK”. Step 4 Open the HTML page where you want to insert your Flash movie. Insert this code: In the code above there is both an tag and an tag. This is because the tag is recognized by Internet Explorer, and Mozilla recognizes the tag and ignores the tag. There are a few more attributes used: classID is an attribute to the tag. It tells Internet Explorer to load the ActiveX plug-in if it is not installed. The plug-ins page is an attribute to the tag. It displays a link to the Shockwave dow...

How to embed Flash slideshow to Joomla! website

How to embed Flash slideshow to Joomla! website Joomla! is an open source free content management system (CMS) platform for publishing content on the Internet. The Joomla! System is written in the PHP programming language and uses MySQL to store information. To incorporate the PFM-created flash slideshows created into an existing Joomla! article, you should manually adding the and tags to the article you want to show the Flash slideshow. When you publish a Flash slideshow with Photo Flash Maker, the program will create several files and folders as follows: Source files of the Flash slideshow created with Photo Flash Maker Among them, the fs_aux.html provides HTML code for embedding the Flash movie (.swf file) into webpage. Step 1. Upload Flash files to the media folder of your Joomla! System You should create a folder under the media folder of your Joomla! System to store the Flash files, for example, a folder named “flash”. And then you can use the Media Manager or ...