|
How can i apply a template to a number of pages at once?
|
|
|
|
|
|
I have designed a website on Dreamweaver CS 3. It's working fine in Chrome, Firefox and others but not in IE 7.
The spry menus in the page donot remain aligned when viewed in IE 7.
It's an HTML, CSS based site.
Site can be seen at www.raza.najam.com.pk -> Click the IEEE Link.
|
|
|
|
|
|
Hi,
My application is having some issue with IE 8 (working fine with IE6 and IE 7).
Below is my code
My application current domain is
"Main.Sub.com"
now i am updating the domain to "sub.domain"
document.domain="sub.domain";
after this i am setting below property in child page load.
var child_window=window.opner;
document.title=child_window.title
after checking for some conditions I am againg setting domain
document.domain="Main.Sub.com"
Then I am creating popup
MyPopup = window.createPopup();
my code is looks like below
var curdomain="Main.Sub.com";
Var child_window;
document.domain="sub.domain";
child_window=window.opner;
document.title=child_window.title;
.
.
.
document.domain="Main.Sub.com";
MyPopup = window.createPopup();
Can any one please suggest how i can make this work in IE8
Thanks,
Salmon
|
|
|
|
|
Have you forgotten to do something like...
myPopup.show(100,100,100,200,document.body);
Another problem maybe that you are giving
focus to another element which closes
the popup ?
As for working in IE6 and IE7 but not
IE8 well thats a mystery for now ?
|
|
|
|
|
Hi there, I am truly frustrated and as usual scoured the internet looking for the answer I could understand before posting on this forum. This is what I am looking to do but I know of one restraint. I have a registration form (regform.html) that gets filled out to sign up for a class, this form then sends the person's name to a Splash screen of sorts that says "Thank you "so and so" for registering for our class" and then I get an email with the registration. From the regform.php file they have the option to print an invoice. What I would like to accomplish is that the form info on the registration form is passed to the invoice. This saves the "User" from having to enter the same data twice. The constraint that I have been made aware of is that I can't nest two forms in one. Does that make any sense? I have tried some iterations of what I wanted to do, but to no avail. The files that I use are www.ahtcsonline.com/regform.html, then it passes info to www.ahtcsonline.com/regform.php (here is the option for the User to fill out the Invoice)at www.ahtcsonline.com/invoice.html. The input field id's are consistent from the invoice.html as the regform.html file thinking that this would be the only logical way to pass the data. I was also thinking that maybe I had to dump the regform data to a text file or an xml file and then import it to the invoice.html file. My background is that I started from scratch last September and have clawed my way to where my website is now. I have to used books and the internet to get here...oh and an occasional post. I like to try to figure things out on my own, but this could be out of my grasp....especially that evil thing called "javascript".
If somebody could please help me sort this out, I would be very grateful,
Evan
|
|
|
|
|
Correct, you can't nest forms.
This is not a difficult problem. You could pass the values to the second form via query string, set a cookie, post to the other form, or use a database and retrieve the info from it.
Basically, from the sounds of it, you need to spend a good deal more time learning before tackling this problem.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I agree that I need to read more, but as a business owner trying to do many things at once...it's not always an easy balance. I did some reading on "Setting cookies"...I will try to read a bit more to figure it out. Rest assured I don't take posting my problems lightly as I know that others are quite busy too. Thank you for your thoughts.
|
|
|
|
|
esebagel wrote: as a business owner trying to do many things at once
No offense to you, but I've found in my experience the ones who try to be both business owner and learn to be a developer eventually fail at both.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: No offense to you, but I've found in my experience the ones who try to be both business owner and learn to be a developer eventually fail at both.
Mark, I am not a developer, just working to make my website more User friendly. As a business owner I am sure you will agree that multitasking is a integral part of perpetuating our business. We wear many hats, some fit us better then others, but just throwing away a hat because it doesn't fit is not in my character. Thank you for your help.
|
|
|
|
|
Hi all ..
i'd made a script like youtube .. but i've no enough space to make upload script
so i want an uploadcenter that give me the direct link for .flv files
like this on (just example)
http://www.uploadcenter.com/upload/name.flv
i tried to use usershare.com but i couldn't load the movie
please help
|
|
|
|
|
Pick one place to ask. You already posted to the quick answers forum.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
There are free flash .swf files which plays .flv. google it. and give the path of the target flv file.
and there are many free players for flv online. for example. jw player and flv player.
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
for my project i created a smiley chart....
as user clicks a particular smiley from the chart it's corresponding code ex (@;}--) is for rose) should appear in textbox......
i got struck in javascript code......
<ul>
<li class="dropList"><a href="#" id="smiLink"><img src="Images1/1.gif" alt="Smileys" /></a></li>
</ul>
<div id="smileysDiv">
<a href="#" id="link1" class="smiley"><img id="img1" src="Images1/1.gif" alt="smile"/></a>
<a href="#" id="link2" class="smiley"><img id="img2" src="Images1/2.gif" /></a>
<a href="#" id="link3" class="smiley"><img id="img3" src="Images1/3.gif" /></a>
<a href="#" id="link4" class="smiley"><img id="img4" src="Images1/4.gif" /></a>
<a href="#" id="link5" class="smiley"><img id="img5" src="Images1/5.gif" /></a>
<a href="#" id="link6" class="smiley"><img id="img6" src="Images1/6.gif" /></a>
<a href="#" id="link7" class="smiley"><img id="img7" src="Images1/7.gif" /></a>
<br />
<a href="#" id="link8" class="smiley"><img id="img8" src="Images1/8.gif" /></a>
<a href="#" id="link9" class="smiley"><img id="img9" src="Images1/9.gif" /></a>
<a href="#" id="link10" class="smiley"><img id="img10" src="Images1/10.gif" /></a>
<a href="#" id="link11" class="smiley"><img id="img11" src="Images1/11.gif" /></a>
<a href="#" id="link12" class="smiley"><img id="img12" src="Images1/12.gif" /></a>
<a href="#" id="link13" class="smiley"><img id="img13" src="Images1/13.gif" /></a>
<a href="#" id="link14" class="smiley"><img id="img14" src="Images1/14.gif" /></a>
<br />
<a href="#" id="link15" class="smiley"><img id="img15" src="Images1/15.gif" /></a>
<a href="#" id="link16" class="smiley"><img id="img16" src="Images1/16.gif" /></a>
<a href="#" id="link17" class="smiley"><img id="img17" src="Images1/17.gif" /></a>
<a href="#" id="link18" class="smiley"><img id="img18" src="Images1/18.gif" /></a>
<a href="#" id="link19" class="smiley"><img id="img19" src="Images1/19.gif" /></a>
<a href="#" id="link20" class="smiley"><img id="img20" src="Images1/20.gif" /></a>
<br />
<a href="#" id="link21" class="smiley"><img id="img21" src="Images1/21.gif" /></a>
<a href="#" id="link22" class="smiley"><img id="img22" src="Images1/22.gif" /></a>
<a href="#" id="link23" class="smiley"><img id="img23" src="Images1/23.gif" /></a>
<a href="#" id="link24" class="smiley"><img id="img24" src="Images1/24.gif" /></a>
<a href="#" id="link25" class="smiley"><img id="img25" src="Images1/25.gif" /></a>
<br />
</div>
<br />
<br />
<br />
<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Height="106px"
Width="248px"></asp:TextBox>
javascript code-------------
window.onload = inItAll;
function inItAll() {
document.getElementById('smiLink').onmouseover = showSmiley;
document.getElementById('smileysDiv').onmouseover = showSmiley;
document.getElementById('smileysDiv').onmouseout = hideSmiley;
for (var i = 1; i < document.links.length; i++) {
document.links[i].onclick = smileyClick(i);
}
}
function smileyClick(i) {
alert(i);
var symbols = new Array(""," ", " ", " ", " ", ";;)", ":-/", ":-X", ":\">", ":-P", ":-*", " ", "=((", "X-(", "B-)", "> ", " (", " )", "0 ", ":-B", "=))", "|-)", "=P~", "=D>", "~X(", "@};-");
document.getElementById('TextBox1').value = document.getElementById('TextBox1').value + symbols[i];
//return false;
}
function showSmiley() {
document.getElementById('smileysDiv').style.visibility = "visible";
}
function hideSmiley() {
document.getElementById('smileysDiv').style.visibility = "hidden";
}
---------------------------------------------------------------------------------------------------------
the loop part is troubling here, even without click it's passing value 1 to smileyClick(i) function and only running once........
Thnx!
|
|
|
|
|
document.links[i].onclick = smileyClick(i);
That doesnt do what you expect.
It assigns the results of smileyClick(i),
which is a function call, to onclick.
Try this ...
for (var i = 1; i < document.links.length; i++) {
document.links[i].num = i;
document.links[i].onclick = smileyClick;
}
function smileyClick() {
alert(this.num);
...
...
document.getElementById('TextBox1').value = document.getElementById('TextBox1').value + symbols[this.num];
-- Modified Monday, March 22, 2010 4:46 PM
|
|
|
|
|
Thnx a lot....
|
|
|
|
|
Every business needs a brochure. A brochure should be made in such a way that it becomes unique and noticeable among the thousands of brochures developed daily. For this you should know the basics of brochure designing. Here are a few brochure designing tips to help you to make your next brochure exclusive.
A brochure is often judged by its cover. Hence the cover should be highly impressive. It should have all the enticing information to attract your readers. Therefore you should plan for a cover that is exceptional from the usual brochure covers.
The brochure should be visually attractive. Hence choose an attractive design and a catchy text for your brochure. Including pictures is a good idea to make your brochure appealing. You can add clear and colorful images related to your business.
Make sure that your brochure is directed towards the right customers. For this you should have a clear-cut idea about the section of customers that you target. Based on this you can plan the design and content for your brochure.
Visit the websites of leading brochure designing companies to know more tips about brochure designing. If you are from Brisbane, you can do a web search using the keyword brocure design brisbane, and get the tips from expert companies in Brisbane.
|
|
|
|
|
whats this? Seems only advice in free Thanks man
Thanks,
Arindam D Tewary
|
|
|
|
|
Hi,
I designed a website of 3(Left side menu, middle text and right some links) colom in plain HTML and css. Site is having almost 10 pages.
If I am to change the link on third colom I have to update the link in all 10 pages.
Is there any good idea that single change will reflect to all pages?
|
|
|
|
|
Dreamweaver templates are the answer my friend.
|
|
|
|
|
|
|
Yes this is done easily, if the site is dynamic make them includes, if its not and basic HTML use the Dreamweaver library tool and let it do all your work for you.
|
|
|
|
|
i have written ajax code and save as ajx.js and i have written my asp code and saved as addwork.asp my problem is
when i click on image go then it should insert records into database without reloading the page but it reloads the page so please help me here is my code below
addwork.asp code below
<!--#include file="common.asp"-->
<!--#include file="headers.asp"-->
<script type="text/javascript" src="ajx.js"></script>
<%
q=request("q")
CheckAdminLogin()
OpenDataBase conn
'if request("flag")=1 then
'compl=0 means task is pending
'compl=1 means task is completed
'compl=2 means task is cancelled
completed=0
uname=request("uname")
txt=request("txt")
dat=now
if uname="" then er=er & "Title cannot be blank"
if txt="" then er=er & "Work description cannot be blank"
if er="" then
sql="insert into wrk(titles,desck,datss,usernames,userid,completed) values('" & cstr(uname) & "','" & cstr(txt) & "','" & cstr(dat) & "','" & session("adminname") & "'," & session("userid") & "," & completed & ")"
conn.execute sql
response.write "<font size=4 color=green>work description Submitted sucessfully</font>"
else
response.write "<font color='#FF0000' size='+1'>" & er & "</font>"
end if
'end if
%>
<form action="addwork.asp" method="post">
<table>
<tr>
<td>
<font size="+1">
Title</font>
</td>
<td><input type="text" name="uname"></td>
</tr>
<tr>
<td><font size="+1">Work</font></td>
<td>
<textarea name="txt" rows="20" cols="35"></textarea>
</td>
</tr>
<tr>
<td></td>
<td><input type="hidden" name="flag" value="1">
<!--<input type="submit" name="submit" value="submit" onClick="showHint(this.value)">-->
<INPUT TYPE="image" SRC="submit_button.gif" HEIGHT="30" WIDTH="173" BORDER="0" ALT="Submit Form" onClick="showHint(this.value)">
<span id="txthint"></span>
</td>
</tr>
</table>
</form>
addwork.asp code ends here
now ajx.js code starts below
var xmlhttp;
function showHint()
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
{
alert ("Your browser does not support XMLHTTP!");
return;
}
var uname=document.getElementById("uname").value;
var txt=document.getElementById("txt").value;
var url="addwork.asp";
url=url+"?uname="+uname+"?txt="+txt;
//url=url+"&sid="+Math.random();
xmlhttp.onreadystatechange=stateChanged;
xmlhttp.open("GET",url,true);
xmlhttp.send(null);
}
function stateChanged()
{
if (xmlhttp.readyState==4)
{
document.getElementById("txthint").innerHTML="thank you"
}
}
function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
{
// code for IE7+, Firefox, Chrome, Opera, Safari
return new XMLHttpRequest();
}
if (window.ActiveXObject)
{
// code for IE6, IE5
return new ActiveXObject("Microsoft.XMLHTTP");
}
return xmlhttp;
}
|
|
|
|