Jump to content

khadem1386

Members
  • Posts

    102
  • Joined

  • Last visited

Everything posted by khadem1386

  1. hello I want my visitor can review my webpage even offline if they visit it allrady I want my browser first check if internet is connected so renew my web page and if internet is disconected. browser show a last view of it. I find this metoth if it help me My webpage is "peage2.html" and contain some file(offline.css offline.js pot.jpg) i set manifest as below <html lang = "en" manifest = "cache.manifest"> and this is my "cache.manifest" CACHE MANIFEST# MMM2offline.cssoffline.jspot.jpgNETWORK:* my problem is when i use this method all thing will FREEZ (even when I conected to internet and I call my page and refrish and f5 or ctrl+F5 but it show the old view.) note:these files will be freez: 1-peage2.html 2-offline.css3-offline.js4-pot.jpg till I change and edite my cache.manifest I haven't prbomlem with freezing and caching these files offline.cssoffline.jspot.jpg but I need main file ("peage2.html") save and cach only for show and use on offline case and if I be online browser Renew my peage2.html (it's text and html) by "F5". in normaly case if we be offline and call a webpage , the browser show "can not find server" error or "you are offline" error as you see in "cache.manifest" I don't write the main file name (peage2.html) but it freez too what can I to do? thank for your time I get pardon for my gramer and diction
  2. hi Thanks for fast replay I test your code and I make a print.css and fill all of my css code to it too BUt it don't work . I work with "print.css" for some other projects alrady when you set a css for printing it effect to "priveiw print" too. but in this above case On firefox "blured css shadows" show on priview but! "blured css shadows" Ignored by Printers Could you please test the above code. are you can print a "css blured shadow" ? like this code? <!DOCTYPE html><html><head><style>h1 {text-shadow:2px 2px 5px #FF0000;}</style></head><body><h1>Text-shadow effect</h1></body></html> thanks
  3. hello (please run and test this simple code for real printing (pdf or paper)) text-shadow don't work properly on new version When I use text-shadow or box-shadow on blured case it don't printed and show only simple text without any shadow <!DOCTYPE html><html><head><style>h1 {text-shadow:2px 2px 5px #FF0000;}</style></head><body><h1>Text-shadow effect</h1></body></html> It show on FF print priveiw BUT NOT on real print (like PDF, or real paper) this problem is for last version and for example We can print css shadow on old version 3.5 of FIREFOX but not on version 28. On firefox "blured css shadows" show on priview but! "blured css shadows" Ignored by Printers Note: on example on above I set "blur" to 5px
  4. dsonesuk thanks you Jquery is so powerful !!!But I can not use any included script on my code (like jquery) in this project Is there any way to use jquery ,(without including!!!)? Is there any way (code suggestion) to use the clear JavaScript
  5. Don E thanks but I can not Use ID attribute. I can use only "Itemprop" what about if(td[i].Itemprop == "productID") ?????? and <td Itemprop="productID">260871544234</td>
  6. HiI want find the tag by "Itemprop" value by java-script. <td valign="top" itemprop="productID">260871544234</td> I want a code that it returen the value of a TD that it has an attribute "itemprop='productID'" this code search for <TD> tags and if it has "itemprop='productID'" , get its value, for example it return 260871544234 I want get text that write on <TD></TD> tag. and <TD> Tag must this attribute "itemprop='productID'" so this <TD> is valid to getting it's value. I need 260871544234 thanks for your help
  7. thanksOk Content Is King!!But all of my Content is in DB.like: quick comment(tool tip), full comment, product name, . . . I have 3 dynamic pages and make many page by its and DB. Is these data valid for Google robot?I hear that Google has problem with dynamic pages. because this pages have not anycontent by themselves(standalone). is this correct? my site sample is:www.panasystem.comas you see my English is not very good. Thanks
  8. Hi to allI have a questions about this.Is static page has better page ranking or dynamic page?and between dynamics page:php is better or asp3?I Make an e-shop and All of my subject and important text are in DB.is kind of DB to effective to make better page ranking?for example : what kind of DB is good for Google?(access or mySQL or MS Sql ) I see many of php dynamic pages that Google find them.can asp work like php in Google ranking search? Thanks
  9. thanks your attationscan you show me some sample.But why we don't have a real 3D or nD table is SQL?you konw that a Normal Table have 2 direct 2D (colums & Row )But my in formations have 3 or 4 Direct. 3D or 4DIn VB we can manage its. by Dim and OPEN RANDOM file.and save a dim with 4 layers(Direct) in a file.layer is such a sheet and cotain many cllsdo you understand me about 3D or 4D?I using ASP(VB) and Access SQL Now and want make a complex of 3d information.for example we have amont raining in days for a month(feb) this have 2 direct days & city (row and colum)and another table for March and another for April mont is third Direct of data andand we have 3 Feb in 3 years (2003, 2004, 2005) and now year is fourth direct (4D)I have many 4D or more DATA that sport by DIM in VB like DIM AAA(1 to 30, 1 to 12, 1 to 3)Thank for your Help
  10. is any method for manage 3D or 4D Data in ASP?
  11. OpenTextFile is only for TEXT filesBut random file is a format that contain recordsand you use GET And PUT for manage it.you can write a Dim (10,10,2) in a record By PUT command.and now I want open a RANDOM file.the format a Random file is such this lines: (binery)lpܕދ܊ݽڤ܉ؗ٭ԴԾѪі̮˃˕ɞˋȪlpܕދ܊ݾڥ܉ـ٭ԵԾѪѕ̮ˁ˕ɜˋȨmoܖތ܋ݾڦ܊ف٭ԵԾѫѕ̮ˀ˕ɛˋȧmoܗލ܌ݿڧ܊فٮԶԾѫє̯ʿ˕əˌȥnoܘގ܍ހڧ܋قٮԶԽѫѓ̯ʽ˖ɘˌȣnnܙޏ܎ށڨ܌كٮԷԽѬѓ̯ʼ˖Ȯˌȡonܚޏ܏I have many of this file that work in VB good (it work with GET and PUT and OPEN commands)BUT I want use its in ASP.random and Dim together are a good tools for saving 3D or 4D Data ( dim (10,10,2,5) as String ) but I want use to ASPlike itI have some 4D or 3D DATA not only 2Dthank you for you help
  12. HiOPEN "aaa.dat" for RANDOM As #1I have many data file that make and read by this command in VB:and now I want make ASP page and reading this Data.this Data have RANDOM format (binary) as you know.I want using of this without translate this data file, to SQL or Access (MDB).I want reading aaa.dat directly in my ASP(VB) page.is work OPEN and RANDOM command to ASP(VB)?thank for your help.
  13. HiI have some 4D or 3D Dimations like ( DIM a(1 to 20, 1 to 3, 1 to 10) 20 X 3 X 10 in ASPand I want make a kind of 3D table in my Databases for transfer Data from Dim to TablesBut I think only we can make 2D table in all DATA BASES manegers (like SQL or Access).if yes, I have to make some addtionals fildes in 2D table instead 3D tabels?thak for your lead.
  14. HiI have some 4D or 3D Dimations like ( DIM a(1 to 20, 1 to 3, 1 to 10) 20 X 3 X 10 in ASPand I want make a kind of 3D table in my Databases for transfer Data from Dim to TablesBut I think only we can make 2D table in all DATA BASES manegers (like SQL or Access).if yes, I have to make some addtionals fildes in 2D table instead 3D tabels?thak for your lead.
  15. HiI use sql querys in ASP(VB) by access contrlo objects.But I want use another DBserver like My sql Or SqlServer in my ASP programs.is the ASP(VB) support this methodes?if yes, can you send some sample of ASP(VB) about its. pleaseI think that Mysql or SqlServer is better than Access. are its better?thank for your help.
  16. HiI use ASP for page.and I have a Data base with MDB name. (make by access)Is very difernt MySQL or SQL Server with Access ?Can I manage its by ASP? and how.thank for your help.
  17. if a query be very large it is hard for sql engin for use it.?I think that larg query run slower. is it true?what is normal lenght of a query?
  18. Hiwe have a site for selling.there is a search Text box with a bottom "GO".I want write sql for manage this search textbox.this sql query must search about 8 filed for a word.this is my list fields:Name:type:Subtype:fullfature:quickfature:Company:..... and some of this fields contain about 2-3 paragraph or more.and in search box we have a few word. so I use % in my query in WHERE syntax.this is my query:dim objconndim DBViwe search = request.querystring("search")set objConn = server.CreateObject("ADODB.connection") objConn.ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)};"&"DBQ="& pr '/ objConn.Open set DBView = Server.CreateObject("ADODB.Recordset") DBView.Open "Select * from tab1 WHERE (name like '%" & Search& "%'") or (Type like '%" & Search& "%'") or (SubType Like '%" & Search & "%'" ) or (Fullfature Like '%" & Search& "%'") or (quickfature Like '%" & Search& "%'" ) , objConn ,3,3this above query is very large. I thing if I use large Query I sql engine it make some problems although this syntax is correct.my really query is large than this and my main problem is for when a person want search to word together.I think I can write a big query but it seem this is not a good method.I want search 8 fields for 3 or 4 word in a time.What syntax you propound?thank for your time.
  19. myMail.AddEmbeddedImage "c:\winnt\media\ringin.gif", "My-imageBut we have this command in ASPEmail(Persite) or jmail . but this objects don't support by all server in (profesional) and only in free vertion it is ready. I think that we must use CDOSYS object for make a HTML contain image in middle or first or in background and then Emailed it.
  20. OK I use this code above but I want use Embedded Images it is for an email with html formt with a image.I use attach metode :myMail.AddAttachment "image.gif" only attach this filebut It seem that is not enogh for using this image through html page emailed.do you know any command and sysntax for cdoSYS (CDO.Message)like : myMail.AddEmbeddedImage "c:\winnt\media\ringin.gif", "My-image"
  21. I can use IIs and run all of ASP file to my XP(localhost) but if this file contain some database command it must use and setup data source in My admin to read a mdb file by asp in my XP and test it several time my asp then uploade it and my mdb to real server.my problem is using this comand to localhost: pr=server.MapPath("data.mdb") set objConn = server.CreateObject("ADODB.connection") objConn.ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)};"&"DBQ="& pr '/ objConn.Open set objRS = Server.CreateObject("ADODB.Recordset")
  22. khadem1386

    problem to CDO

    Hithis is my code but server return errordim myMailSet myMail=CreateObject("CDO.Message")myMail.Subject="Sending email with CDO"myMail.From="info@panatem.com"myMail.To="o_sham@hotmail.com"myMail.HTMLBody = "<h1>This is a message.</h1>" myMail.Send 'line 14set myMail=nothingthis is error mesege:CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid. /pana/send email attached1.asp, line 14 what must I do?
  23. HiI have a asp file and want check to my camputer in offline:This is a part of my code:pr=server.MapPath("/data.mdb")set objConn = server.CreateObject("ADODB.connection") objConn.ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)};"&"DBQ="& pr '/ objConn.Open I want use Data Sources (ODBC) in Administrative Tools in XP and set and run it.can help me how to use this XP server. as IISMy file work to server but I want check it by my pc offlinethank for your help
×
×
  • Create New...