Jump to content

Search the Community

Showing results for tags 'cshtml'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 2 results

  1. Hey, everyone. I'm new to the forums, but not to W3 Schools or programming in general. I've spent the past 3-4 days combing the tutorials for asp, asp.net, ajax, php, html5, cshtml, etc. and learned way more about each than I'm probably ever going to need. At this point, I'm only inches closer to completing my project than when I started looking through these (though I suppose I'm a better web dev for it), and there is only one question in my mind - which language should I actually be looking at to make this work? It seems to me after looking through each one individually that any language detailed on W3 Schools will work for what I need, but some of them may be easier than others. That's not something I can determine myself without knowing each language like the back of my hand, however. I'd like to ask your opinions - especially people who have actually used these tools to do similar things. I'd like to do something similar to Comicpress for Wordpress, but less bulky, and friendlier to mixed media. On one hand, if I utterly fail at this, I could just use Comicpress, but I'd like more control over the system and I'd like to only have the files and the processes and features that are necessary to do what I want to do. I've gotten a lot of recommendations from other artists in the same boat to write my own site if I can, rather than using a Wordpress engine. (I'd also like to just see if I can do it, improve my skills in web dev, etc...which is really what most of us are here for, right?)The layout I'm going for is extremely similar to what I would get out of Wordpress for comics.... The most important things are the back/forward and the comments (per strip) - and of course the ads, which will put food on my table, but I'm not too worried about those - those will come with Comicpress if I have to throw in the towel. The part that I really want to be able to include that Comicpress won't be very good at is the tiny audio bar underneath the comic strip. The only thing I regret about comics in general is that you must rely on lighting, etc. to set mood. I know there are Wordpress widgets for this, but none exactly what I had in mind. What I would really like to do is have music attached to the comic that does the following....1) continues to play over several strips as a "soundtrack" (and loops, and plays automatically). The strips are so short that restarting the music for each one would be less than ideal, and would get annoying pretty quickly. This also means the music should not be a playlist, but a single song.2) changes the song automatically at predefined scene changes, when the user hits the back/forward buttons and changes the comic. The music file for each comic should be stored/associated with it somewhere.3) can be turned off (or there's a different "version" of the site where music is not enabled) because this could be very annoying to some users that prefer to read their comics in peace and quiet. It's a cool feature, but certainly not for everyone. I'll be happy if I can get it working and then make a separate page entirely where that functionality is disabled, but it would be nice if it was an switch/checkbox/button on the page that could be cached to that user. Things I've tried...At first, I thought about using AJAX to reload the strip, ads, and comments, and only load the music when the strip changes. Still unsure whether this is the correct/easiest method.Then I found a web widget that "autoresumes" play when a page reloads, which I would be fine with, but I believe it may be impossible to tell it not to resume, and to stop playing the song it's on and play something different. It seems to behave like a playlist as well, from my understanding.I thought about having a database for the strips, where an image file, page ID, (chapter/volume number, commentary, etc etc), and music file is defined. When the music file defined on the page to be displayed is different than what is playing, the music changes. But it does not, under any circumstance, change to a new song in the middle of a strip, as a playlist would (which is most wordpress and audio widgets in general).Other things I'm unsure of (because I haven't tried it yet) are how to connect the list of comments to each particular strip individually, and how to load new comics, comments, and ads without creating a new page file for each and every one. I want to make it as quick and easy as possible to add new content without having a billion html files like back in the dark ages, but I still want users to be able to link to a specific page. TLDR; Again, I've read MOST of the tutorials and understand most of them, and I still have no idea WHICH route I should be looking into and researching further in order to make something like the above. A simple point in the right direction (so I can continue the Google search and know for certain there's a light at the end somewhere) is all I ask, but if anyone does have specific answers to these questions, I'd be happy to have them. I just don't want to start looking into, say, classic ASP, when I should be using PHP or something, and find out only after weeks of work that I should have gone down a different route.Thank you for your help!!
  2. 1. ASP.NET/WEBPAGES tutorial. I completed the tutorial and was trying to add a logout function on my Login.cshtml page/file. The WebSecurity.Logout() command would always execute before I want it to. I tried putting it in a button as an onclick option, and tried hidding it in a Jscript function. It seems it would still execute when i didn't want it to. The Login.cshtml file does not have any standard HTML sections,(html, head, body..) The page seems to be controlled by an IF (isPost) option before any processing is performed. I did not devise a way to make my Logout routine work within that IF statement... I was looking for a simple way to add a LOGOUt button/function to work in the Tutorial. site: http://www.w3schools.com/aspnet/webpages_login.asp Also?? Code will Generally, I take it that any/all code written keeps firing away unless it is prevented to, by being inside an IF statement ( or some othe conditional) if its above the <html> or <html> is missing alltogether.. judging/noticed from the .cshtml examples... So, Does Anybody have a few simple lines of code for a Newbie to see how to put a LOGOUT(WebSecurity.Logout()) routine in the login.cshtml file...? I did create a seperate page to perform it, but would like to know how to make it a simple button on the login page, and also to put the Register option ther also... Thanks,\ from a Newbie...
×
×
  • Create New...