Haluaisin omaan blogiini tuolta www.ButtonGenerator.com noita juttuja, mutta ongelmana on että en ole kauhean paljon tällästen kanssa touhuillut, sekä tuo englannin kielentaito ei ole parhaimmasta päästä.
En ollut varma mihin tämä kysymys oikein kuuluisi, joten päätin laittaa sen tänne.
Miten saan tuon blogiini minkä olen tuolla kyseisellä sivulla tehnyt?
Installation :
1. Create the button's folder, and put button images in it.
The button's folder must be in the same directory as the web page that will display your menu. For example :
If your web page is here :
http://www.mydomain.com/index.html
Your button's folder must be here :
http://www.mydomain.com/buttons/
2. Put the menuscript.js and menustyle.css files in your web page folder.
The menuscript.js and menustyle.css files must be in the same directory as the web page that will display your menu. For example :
If your web page is here :
http://www.mydomain.com/index.html
Your menuscript.js file must be here :
http://www.mydomain.com/menuscript.js
And your menustyle.css file must be here :
http://www.mydomain.com/menustyle.css
3. Insert the HTML tag for javascript and sub menus.
This is the HTML code that calls the javascript and CSS style sheet files ( menuscript.js and menustyle.css ). You must insert it in the HEAD part of your HTML document.
(koodi, mitä en kopioi nyt tähän)
4. Insert the HTML tag to display the menu.
This is the HTML code to display the menu.
You must insert it in the BODY part of your HTML document.
(koodi, mitä en kopioi tähän)
Toi voi olla ihan yksinkertainen juttu, mutta... Olisin kiitollinen jos joku neuvoisi tällästä piiloblondia ^^
En ollut varma mihin tämä kysymys oikein kuuluisi, joten päätin laittaa sen tänne.
Miten saan tuon blogiini minkä olen tuolla kyseisellä sivulla tehnyt?
Installation :
1. Create the button's folder, and put button images in it.
The button's folder must be in the same directory as the web page that will display your menu. For example :
If your web page is here :
http://www.mydomain.com/index.html
Your button's folder must be here :
http://www.mydomain.com/buttons/
2. Put the menuscript.js and menustyle.css files in your web page folder.
The menuscript.js and menustyle.css files must be in the same directory as the web page that will display your menu. For example :
If your web page is here :
http://www.mydomain.com/index.html
Your menuscript.js file must be here :
http://www.mydomain.com/menuscript.js
And your menustyle.css file must be here :
http://www.mydomain.com/menustyle.css
3. Insert the HTML tag for javascript and sub menus.
This is the HTML code that calls the javascript and CSS style sheet files ( menuscript.js and menustyle.css ). You must insert it in the HEAD part of your HTML document.
(koodi, mitä en kopioi nyt tähän)
4. Insert the HTML tag to display the menu.
This is the HTML code to display the menu.
You must insert it in the BODY part of your HTML document.
(koodi, mitä en kopioi tähän)
Toi voi olla ihan yksinkertainen juttu, mutta... Olisin kiitollinen jos joku neuvoisi tällästä piiloblondia ^^
Vastaukset 1
Vanhimmat
1. Luo kansio johon tallennat/siirrät tekemäsi painikkeet (buttonit)
Jos kotisivusi ovat osoitteessa
http://www.mydomain.com/index.html
täytyy painikekansion olla osoitteessa
http://www.mydomain.com/buttons/
2. Tallenna/siirrä menuscript.js ja menustyle.css tiedostot samaan kansioon, jossa on sivu jolla tekemäsi valikko on
Jos kotisivusi ovat osoitteessa
http://www.mydomain.com/index.html
Pitää menuscript.js ja menustyle.css tiedostojen olla samassa paikassa
http://www.mydomain.com/menuscript.js
http://www.mydomain.com/menustyle.css
3. Liitä valikon sisältävän sivun HTML-koodin -osaan (koodi, mitä en kopioi nyt tähän)
meta http-equiv.....
....
....
oma koodisi tähän
4. Liitä (koodi, mitä en kopioi tähän) HTML-koodiin kohtaan, jossa haluat valikon näyvän