Jump to content

Mimika

Members
  • Posts

    141
  • Joined

  • Last visited

Posts posted by Mimika

  1. Iam after two scripts 1.A script who vertifes that the e-mail adress like this ex."Invented@hotmail.com" are correct displayed in the form so you can not type "dfgdg" and be able to send it, the code you can find in this Topic under post 10~2. A script who can change banners random on page load got 10 banners and they will be displayed inside a table

    <td width="570"><img src="banner-(3).gif" width="570" height="60"></td>

    this are not related to the link for the 1st script this is another side prodject------------------ thnx in advance for the help :)

  2. Well what i understand you want the hole page centeredthis is an exampel code

    <frameset cols="*,760,*" frameborder="NO" border="0" framespacing="0">    <frame src="Left.htm" name="leftFrame" scrolling="NO" noresize>    <frameset rows="150,*" frameborder="NO" border="0" framespacing="0">  <frame src="Top.htm" name="topFrame" scrolling="NO" noresize>  <frameset rows="*" cols="110,650" framespacing="0" frameborder="NO" border="0">  <frame src="Meny.htm" name="leftFrame1" scrolling="NO" noresize>  <frame src="Middle.htm" name="mainFrame">	</frameset>  </frameset>  <frame src="Right.htm" name="rightFrame" scrolling="NO" noresize></frameset><noframes><body></body></noframes>

    the (*,760,*) text tells that the page are centered. you can then leave left and right to be empty space

  3. nah i have fixed the main issues with the codes. atm i dont have any questions but i will later but now iam just doing some alterations so i get a cleaner design.when i need help i post it in the correct topic :)

  4. np :)my mening was not to hi-jack sorryI have only been working with MS SQL-Coldfusion and css for about 5-6 weeks exept MS SQL just 4 weeks. sorry if i persumed i did the mail servies in SQL thought that cause of all querys at the main page and the ## :( i will try to better myself :)

  5. wait and see :)well you can say its somewhat an pm service its just 1 person who gets the E-mail :Dand it wont be stored in databas I have tested alittle whit the errors it sends a e-mail but with no content inside it and the notification dont work. and none of it is stored inside the DB..post 2i have now fixed the code hehe forgot two ## in it so the error dissaper :)here is the code kinda offtopic but related

    <cfquery NAME="GetSida" DATASOURCE="Company">SELECT ID, Rubrik, Text FROM dbo.tblSidor WHERE ID = #URL.sida#</cfquery><html><head><title>Sida</title><link href="codes.css" rel="stylesheet" type="text/css"></head><body> <cfoutput query="GetSida">#Rubrik##Text#</cfoutput><cfif getsida.ID is 7 ><cfif isdefined("skickat")><p style="margin-top:30px;text-align:center;font-weight: bold;font-size: 18px;">Message have been sent</p><p style="margin-top:30px;"></p></cfif><form action="mail.cfm" method="post"><table width="560" height="300">  <tr>    <td height="295"><center><strong>E-mail us here</strong></center>	  <table width="242"  align="center" class="mail">		<tr>			<td><div align="right">E-Mail: 			<input name="Signatur" type="text" dir="ltr" lang="sv" size="18px" maxlength="80px"></div></td>		</tr>		<tr>			<td><div align="right>Subjekt: 			<input name="subject" type="text" dir="ltr" lang="sv" size="18px" maxlength="80px"></div></td>		</tr>	  </table>	  <table  align="center" >  		<tr>    		<td width="333" height="188"> <div align="center>Message<br>			<Textarea name="Text" rows="10" COLS="40" align="TOP"></textarea>    		</div></td>  		</tr>	  </table>	 </td>  </tr></table>  <div align="center">    <input type="submit" name="Submit" value="Send">    <input type="reset" name="Reset" value="Clear">  </div></form></cfif></div></body></html>

    this page is called sida.cfm and i use ID to input diffrent information from the meny. there might be some </> tagg's left just did a fast fix so all the styles and othes are gone to make the code more purethe mail.cfm you allready know :( its in my previus post, and to take away another error i made i took away all the [needs for anwser/input text]

  6. MS SQL you dont need to link it to a BD this is linked to a sepperated .cfm file who then links to the e-mail adress who is writhen inside that .cfm file. the code below sends the form to the sepperated .cfm fileform action="mail.cfm"and in the mail.cfm this is all that stands in it

    <cfmail to="[E-mailadress]" from="#Form.Signatur#" subject="#form.subject#">	EN kund har skickat ett medelande	#Text#</cfmail><cflocation url="Sida.cfm?sida=7&skickat=1" addtoken="yes">

    atm i have some codes thats needs to be fixed and iam waiting for my friend who have done the same thing to solve my problems in the code cause iam kinda new on this. I will post the code when the error is gone :)

  7. this is how my form looks like if you want to see it

    <form action="mail.cfm" method="post"><table width="560" height="300">  <tr>    <td height="295"><center><strong>E-mail us here</strong></center>   <table width="242">  <tr>  	<td><div align="right">E-post:   	<input name="Signatur" type="text" dir="ltr" lang="sv" size="18px" maxlength="80px" VALUE="[Needs for answer]"></p></div></td>  </tr>  <tr>  	<td><div align="right">Subjekt:   	<input name="subject" type="text" dir="ltr" lang="sv" size="18px" maxlength="80px"></p></div></td>  </tr>   </table>   <table  align="center" >    <tr>      <td width="333" height="188"> <div align="center">Meddelande<br>  	<Textarea name="Text" rows="10" COLS="40" align="TOP">[Wright your text here]</textarea>      </p>      </div></td>    </tr>   </table>  </td>  </tr></table>  <div align="center">    <input type="submit" name="Submit" value="Skicka">    <input type="reset" name="Reset" value="Återställ">  </div></form>

    around the form i have SQL query's but you have never tryed it so but you can use my form for testing. i took away some fetures here and i hope it wont give away any errors if you try it

  8. I am useing SQL for this but my total experiance are not that good :)i have some errors still before its finished. I have just used SQL for 4 weeks and i know just alitte done the tutorial's here on W3Schools :)i mostly google around ^^

  9. well if you have made a picture your self and and use it on your own homepage and have this content or similar.this page is copyrighted by [name or pagename or company] anyone useing any content from this page are breaking the copyright law. <--- this is 1 thing you can see that the pitcures or similar are copyrighted some adds copyrights into the picture. And then there is alwas someone who photoshops them so the copyrights dissaper :(I have persionaly no desings up on internet yet but will sooner or later when my persional page is done :)if you want to know some very good design tools i can suggestXara X (vectorgrapich) and Adobe Photoshop C2I think you know what Adobe Photoshop C2 but not Xara X :)Xara X are a kinda new program thats only been up for a few yearshere you can find someinformation about itwww.Xara X.com

  10. Hi, not sure where to post this, so i'll post it here.is there a way of, making a page so that, the menu, logo and background stay where they are, so they are not reloaded everytime you press a link.But the text bit on the page, so to say, in its own area, changes each time you press a link. But, it does so in a cool way, like the text/images scrolls and fades away downwards, and then the new text and images scrolls and fades in upwards, kinda quickly.and also, the url stays the same, so it doesn't show any file names etc..just www.somesite.co.uk no matter what you press.i'm guessing this is possible with flash, and maybe php, but i have no idea on how to go about it.

    well about the page name that never changes can also work with frames (html) :)well in flash they use frames (like a movie) to run. if you have a ground layout for your side you just have it as a background and drag it so it are displayed from frame 1-50(or longer) it all dipends on how advansed page you want to have. you can move object how ever you want and even make an axel for the object to movie in. all the features you just said can be made in flash. you dont need to do much codes inside flash. Like buttoms are very easy to use and link.to link a buttom link it to the frame in the flash movie you want it to show.And i would advise you for each frame that are not animated to add a pause on all frames so not the site runs automatic and loops. (If i remember correctly it is explained in the help file)hope this helps alittle :)
  11. To resize the amount of space a jpeg or another format takes its very easy to dochange it.I use adobe photoshop C2 at work.upload an img if it now is 1 mb and you want to make it smaller so it will go faster to load on the internet.press the image text at the upper left corner and go down to image size and press that now you can change alot. choose the dissiered value of the size of the img then go down to a little window with the name Bicubic change it to Bicubic sharpernow the img thouse not look like it lost all detaljs like before and now go to the File link and press save for webb and do some changes in there, and if you did well you could have made the piture about more then 1/10(or even more) of its ordinary size well explore the program it will help alot and its a lot to learn :)And like Skemcin and alzable dont use copyright material. if you need similer stuffs you can make it your self i make my one design :)

  12. its not hard to make a loop in flash the easyest way is to have lets say 10 frames for each pitcure in row. so the total will be 30 frames you can set the flash movie on how fast you want it to play. Dont insert the pitcure 10 times under window i think its called bookmark or something press that and you will get an window with the first pitcure allready inside us that one to save space :)will update this when i get home :)

  13. well i used google and found this code

    <script language="JavaScript1.2">/*Top-Down scrolling window Script-© Dynamic Drive (www.dynamicdrive.com)For full source code, installation instructions,100's more free DHTML scripts, and Terms OfUse, visit dynamicdrive.com*///change 1 to another integer to alter the scroll speed. Greater is fastervar speed=1var currentpos=0,alt=1,curpos1=0,curpos2=-1var intervalvar scrollit=truefunction initialize(){startit()}function scrollwindow(){if (scrollit) {if (document.all)temp=document.body.scrollTopelsetemp=window.pageYOffsetif (alt==0)alt=1elsealt=0if (alt==0)curpos1=tempelsecurpos2=tempif (curpos1!=curpos2){if (document.all)currentpos=document.body.scrollTop+speedelsecurrentpos=window.pageYOffset+speedwindow.scroll(0,currentpos)}else{currentpos=0window.scroll(0,currentpos)}}}function startit(){setInterval("scrollwindow()",10)}window.onload=initialize</script></head><body onmouseover="scrollit=false" onmouseout="scrollit=true">

    I dont know if it will work however with your need's

  14. iam no expert just started 4 weeks ago but i can some basic'sI use Coldfusion MXif i understand this right then its just text that you want centerd both horosontal and verticaladd this content inside the [name].css file

    .text {	text-align: center;	vertical-align: middle;}

    if you dont use class then delete the .text, I use it allot and i love it :)classes can be used in most tags but are not valid in all browsers just addclass="[name]" inside a tag so in this case it should be class="text"hope this will help if not then someone else will help :)

×
×
  • Create New...