Moiz Saifuddin
asked on
Format Html
This is the site where I want to edit some CSS and Html but cannot find the pages to do so...i have looked under the skins/sl/templates and there are a bunch of html files but not sure which one to edit...The language can be translated through chrome in english.
http://www.alenkacopati.si/
These are the files to download
<link removed by SouthMod>
http://www.alenkacopati.si/
These are the files to download
<link removed by SouthMod>
ASKER
I cannot figure out which .asp page though..I need to replicate the transparent footer in the site below and replicate it in the site above..
http://www.racunalniske-novice.com/
cause usually its supposed to be in the default.asp file but i dont see any html there
http://www.racunalniske-novice.com/
cause usually its supposed to be in the default.asp file but i dont see any html there
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
The Html pages were where the code should be
Like
http://www.racunalniske-novice.com/
I want
http://www.alenkacopati.si/
to need the Button on the footer whenever clicked should disappear even on refresh of the page like setting a cookie in the users machine, the page refers to the cookie and if cookie exists the bar should be display:none;
Like
http://www.racunalniske-novice.com/
I want
http://www.alenkacopati.si/
to need the Button on the footer whenever clicked should disappear even on refresh of the page like setting a cookie in the users machine, the page refers to the cookie and if cookie exists the bar should be display:none;
OK, we understand now that you want to do add some HTML and CSS to the site, which will achieve a certain goal.
You asked however where the HTML and CSS would be.
There is NO fixed place for this.
As suggested above (by paulmacd) it could be in the ASP file.
It could also be (more likely) in a separate file. This separate file could be an ASP file, or HTM, HTML, or almost any other extension (recent example I saw was .TPL). (NOTE: This is the way most sites are built now, with the common parts of HTML being held in a separate place.)
Please do a search as I suggested above, as this will show you where those parts of the HTML and CSS are stored.
Then, and only then, we can help you with the code you need to place in those locations.
GH
You asked however where the HTML and CSS would be.
There is NO fixed place for this.
As suggested above (by paulmacd) it could be in the ASP file.
It could also be (more likely) in a separate file. This separate file could be an ASP file, or HTM, HTML, or almost any other extension (recent example I saw was .TPL). (NOTE: This is the way most sites are built now, with the common parts of HTML being held in a separate place.)
Please do a search as I suggested above, as this will show you where those parts of the HTML and CSS are stored.
Then, and only then, we can help you with the code you need to place in those locations.
GH
ASKER
I have updated the html file if you see the site below, there is the footer included which contains a button.
http://www.alenkacopati.si/
I need that button onclick to be setting a cookie and like I explained below, I need this by someone with good javascript or html background or jquery
>>
to need the Button on the footer whenever clicked should disappear even on refresh of the page like setting a cookie in the users machine, the page refers to the cookie and if cookie exists the bar should be display:none;
http://www.alenkacopati.si/
I need that button onclick to be setting a cookie and like I explained below, I need this by someone with good javascript or html background or jquery
>>
to need the Button on the footer whenever clicked should disappear even on refresh of the page like setting a cookie in the users machine, the page refers to the cookie and if cookie exists the bar should be display:none;
It looks like in your skins folder, the html files are what you want to edit. I would add a new div below the footer div or within the footer div and style that do do what you need.
ASKER
From this site I have written an html code below that sets cookies
www.w3schools.com/js/tryit.asp?filename=tryjs_cookie_username
The page contains a button which onclick sets a cookie and on reload of the page the button remains hidden....
In firefox the button remains hidden on reload of the page but in chrome the button still appears...
Can anyone fix this code for me in chrome
www.w3schools.com/js/tryit.asp?filename=tryjs_cookie_username
The page contains a button which onclick sets a cookie and on reload of the page the button remains hidden....
In firefox the button remains hidden on reload of the page but in chrome the button still appears...
Can anyone fix this code for me in chrome
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<script type="text/javascript">
window.onload=function(){bodycheckCookie()};
function getCookie(c_name)
{
var c_value = document.cookie;
var c_start = c_value.indexOf(" " + c_name + "=");
if (c_start == -1)
{
c_start = c_value.indexOf(c_name + "=");
}
if (c_start == -1)
{
c_value = null;
}
else
{
c_start = c_value.indexOf("=", c_start) + 1;
var c_end = c_value.indexOf(";", c_start);
if (c_end == -1)
{
c_end = c_value.length;
}
c_value = unescape(c_value.substring(c_start,c_end));
}
return c_value;
}
function setCookie(c_name,value,exdays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate() + exdays);
var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
document.cookie=c_name + "=" + c_value;
}
function bodycheckCookie()
{
var username=getCookie("username");
alert(username);
if (username!=null && username!="")
{
document.getElementById('button1').style.display = 'none';
}
}
function buttoncheckCookie()
{
var username="test";
setCookie("username",username,365);
document.getElementById('button1').style.display = 'none';
}
</script>
</head>
<body>
<button type="button" id="button1" onclick="buttoncheckCookie();">Click Me!</button>
</body>
</html>
Also, I've asked a moderator to remove the link to the Dropbox page. That's a big security risk for you.