Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello All;

I am hunting for a Streaming Media Server (software), that will allow me to do the following.

#1: Using a web-based page, to start and stop the stream.
#2: Add songs to the stream and remove songs from the stream through the web page

Shoutcast, Windows Media Services (now the new (smooth streaming in newer servers)), Icecast (I have installed, but cannot seem to get it working).

I found this for playing the stream through my website.
http://jplayer.org/latest/demo-08/
So, that would work for playing the LIVE stream.
Now, just need to find a media server.

With WMS (Window Media Services) (2008 and below of Windows Servers)
I can create a Playlist with asp classic or net, and have it run through a database, LOOP and create a playlist.
https://msdn.microsoft.com/en-us/library/windows/desktop/dd564552(v=vs.85).aspx
However. What if I remove a song, or add a song.
Will the playlist update itself with the LIVE Stream? Or will the station have to be stopped and started up again?
That might have to be. I might have to play a commercial or some kind of a jingle or a station break whenever the update needs to take place.
(Just letting my mind wonder while writing this up.)

My dream is to run a radio station of sorts, from my home.
To add and remove songs from the stream through a web page, no matter where I am at.

Once I can get something like this up and running, I can then modify it in the future.
I would just like to get a station up and …
0
vBulletin 4.2
many pages
many posts
many responses
1000 users


could I  change to phpbb forum
0
hi
i have created a web form frm_map.aspx structured as below:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Frm_Map.aspx.vb" Inherits="Frm_Map" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Google Maps Example</title>
     <script type="text/javascript"
        src="http://www.google.com/jsapi?key=AIzaSyDtWpEfoVxSKPTzKKFmYq1RP-isfqWLFGA"></script>
     <script type="text/javascript">
         google.load("maps", "2");
         // Call this function when the page has been loaded
         function initialize() {
             var map = new google.maps.Map2(document.getElementById("map"));
             map.setCenter(new google.maps.LatLng("<%=lat%>", "<%=lon%>"), 5);
        var point = new GPoint("<%=lon%>", "<%=lat%>");
          var marker = new GMarker(point);
          map.addOverlay(marker);
          map.addControl(new GLargeMapControl());
      }
      google.setOnLoadCallback(initialize);
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div id="map" style="width: 400px; height: 400px"></div>
    </div>
    </form>
</body>

Open in new window


below is it code behind :
Imports System.Data
Imports System.Net

Partial Class Frm_Map
    Inherits System.Web.UI.Page
    Protected lat As String, lon As String
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
        Dim ipaddress As String
        ipaddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
        If ipaddress = "" OrElse ipaddress Is Nothing Then
            ipaddress = Request.ServerVariables("REMOTE_ADDR")
        End If
       
        lat = "33.55"
        lon = "55.45"
       
    End Sub

    
End Class

Open in new window


after running this form i am getting the below error message
his page didn't load Google Maps correctly. See the JavaScript console for technical details.

below is the attach erroe
0
am trying to lock a node.js express website down for all routes except login, forget password, etc. I am able to hit the login page, forgotpassword, etc.; however, when I try to hit the reset password page by clicking on a link in an email of the form, http://localhost:3000/resetpassword?ua=55d48e9b2467717e1042e100f7f71990a04088a1c4eed26a67e7567993, I keep getting the "No authorization token was found" error. This route is in the unless list so I do not understand why it is falling through? Could it have an issue with the querystring parameter and if so what is the correct syntax?

Route Handler for Rest Calls
app.use('/api', expressJwt({secret: process.env.AUTH_KEY,
  credentialsRequired: true,
  }).unless({path: [{ url: '/api/forgotpassword', methods: ['PUT'] }, 
  { url: '/api/login', methods: ['POST', 'PUT'] },
  { url: '/api/resetpassword', methods: ['PUT'] }]} ));

Open in new window


Route Handler for the rest of the site

app.use('/', expressJwt({secret: process.env.AUTH_KEY,
  credentialsRequired: true,
  getToken: function fromHeaderOrQuerystring (req) {
    if (req.headers.authorization && req.headers.authorization.split(' ')[0].toLowerCase() === 'bearer') {
        return req.headers.authorization.split(' ')[1];
    } else if (req.query && req.query.token) {
        return req.query.token;
    }

    return null;
  }}).unless({path: [{ url: '/forgotpassword', methods: ['GET'] }, 
  { url: '/login', methods: ['GET'] },
  { url: '/index', methods: ['GET'] },
  { url: /\/css\/*/, methods: ['GET'] },
  { url: /\/js\/*/, methods: ['GET'] },
  { url: /\/images\/*/, methods: ['GET'] },
  { url: '/resetpassword', methods: ['GET'] },
  { url: '/forgotpasswordconfirmation', methods: ['GET'] }]} ));

Open in new window


Any help would be greatly appreciated.
0
Hi, on the css I have two classes as follows...

.list_menu a {
display: block;
padding: 12px 0px;
background: #e1e1e1;
text-decoration: none;
}

.list_menu a:hover {
background: #d4d4d4;
background-repeat:no-repeat;
width:100%;
}

I want to remove them both and add my own Selected state when you click my div, I am using the following javascript function when you click, but it doesn't work, am I referencing the classes wrongly? Thanks.

function addMySelectedState()
{
var nameElem1 = document.getElementById("option1");
nameElem1.classList.remove("list_menu a");
nameElem1.classList.remove("list_menu a:hover");
nameElem1.classList.add("list_menu_selected");
}
0
Is there someone had implemented this before? That's to generate pdf files online via JavaScript or ASP.Net effectively?

The background is that I got few pages of forms to be filled in by end user and they now requested it to have the feature to generate a pdf version of what have been filled in.

I also need to be browser compatible as far as it can, thank you.
0
I need help to align 4-5 button side by side . I try but I am getting a black bar in the page and I cant seem to find where to get it out .... here is the script.



<link rel="stylesheet" type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
      
      <style>
      .container * {
      transition: all 2s;
      -moz-transition: all 2s;
      -webkit-transition: all 2s;
      -o-transition: all 2s;
      }
      
.container {
      margin: auto;
      padding: 15px;15px;
      box-sizing: border-box;
      resize: none;
      }
      .navbar {
      border-radius: 4px;
      }
      .navbar-inverse .navbar-brand {
      color:red;
      }
      .form-control {
      width: 40px;
      }
      
      #Tab{      
      position:absolute;
      width:100%;
      height:140px;
      top:0px;
      left:0px;
      background-color:white;
      

      
      }
      

            </style>
</head>
<body>

<div id= "Tab"> </div>
      <div class="container">
      <div class="sidebyside">
      
      </div>
      </div>
      <nav class="navbar navbar-inverse" role="navigation">
      <div class="navbar-header">
      <form class="navbar-form navbar-"left" role="search">
      
         <button type="button" class=" btn  btn-primary load"> Home </button>
         <button type="button" class="btn btn-primary load"> About us </button>      
         <button type="button" class="btn btn-primary load"> Menu </button>
         <button type="button" class="btn btn-primary load"> Photos </button>
         <button type="button" class="btn btn-primary load"> Contact </button>
       
         
      </form>
      </div>
      …
0
When I go to Google.com and search for "tulsa events", google returns a very pretty scrolling slideshow of events in the area above the "normal" search results. Is there a way that I can somehow capture these via an API, preferably as an RSS feed?
0
Hello Experts - wondering what the latest best practice approach for implementing a modal overlay on corporate website is for cross-platform/device and backwards compatibility?

jQuery plugin? HTML5 CSS3? something else?

Thanks.
0
I have this output now:
see.pngHow can I make it that when this div appears the "details" tab is always open and like how it is in the second picture below
see1.pngAlso for the active tab to have a different color border.
My css:
.tabs {
  list-style:none;
  padding: 0;
}
.tabs:after {
  content: " ";
  display: table;
  clear: both;
}
.tabs li a {
 color: #333;
padding-bottom:0.5em;
border-bottom: 2px solid #d7d6d0;
font-size: 0.8em;
}
.tabs li a:active {
border-bottom: 2px solid #cf5630;
}
.tabs li {
float:left;
  margin-left: 15px;
  margin-right: 15px;
}
.tab1 {
  display: none;
}
.tab1.active {
  display: block;
}

Open in new window


code:
<span class="block textCenter tabs flex justifyBetween">
<ul class="tabs">
  <li class="uppercase pointer"><a href="#details">details</a></li>
  <li class="uppercase pointer"><a href="#ingredients">ingredients</a></li>
  <li class="uppercase pointer"><a href="#nutrition">nutrition</a></li>
  <li class="uppercase pointer"><a href="#instructions">instructions</a></li>
</ul>
</span>
<div id="tabContent" class="relative">
<span class="shadow block absolute"></span>
<span class="contentBox block">
<div class="tab1" id="details">
<p class="textLeft details">
fdhghjghj
</p>
</div>
<div class="tab1 " id="ingredients">
  Ingredients tab
</div>
<div class="tab1" id="nutrition">
  Nutrition tab
</div>
<div class="tab1" id="instructions">
  Instructions tab
</div>

Open in new window

0
we have an angularjs 2 application and we are planning for the automation on build Process.
We have 4 repository modules which has been been setup on Gitlab server. we need to pull these  Repository modules to Jenkin server, what we need is the  Grunt script to create these  builds  independently.
0
Hello,

This question has probably been asked many times before, but I just couldn't find the answer.

For our new site (built on Wordpress) we want 5 selected posts to be displayed directly under the main domain.
Or otherwise - their permalinks to be domainxyz.com/particular-post1/ up to domainxyz.com/particular-post5/

We don't want to change the overall permalink global settings. We still have the rest of our posts nicely organized/categorized.

I know that I could create a page instead of a post.
Unfortunately we need the post functionalities that are not present for pages in our Wordpress theme/template.

Please, feel free to ask for more information if needed.

Thank you,
Ian
0
hello i have code below which checks to see if Teamname is in database : i would like to also add a check Email...

//Check to see if the Teamname is already taken
$query = "SELECT TeamName FROM f1users WHERE TeamName = '".mysql_real_escape_string($TeamName)."'";
$result = mysql_query($query) or die(mysql_error()); // Get an array with the clients
while($row = mysql_fetch_array($result))


{ // For each instance, check the username
	if($row['TeamName'] == $TeamName)
	{
		$usernameTaken = true;
	}else{$usernameTaken = false;
}
}

if($usernameTaken)
{
	echo "<h1>Really Sorry but that TeamName has been taken.</h1>  Please try again";
		// Then, redirect them to the profile page
echo "<p><a href='../register.html'>Try Again</a></p>"; 

}


// If our email or PayPal addresses are invalid
else if(!eregi("^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]{2,3})$", $Email))
{
     echo "<P><H2>Hello Sorry. The email address you entered is invalid.</h2>"; // Tell the user
}
else{


$result= MYSQL_QUERY(

		 "INSERT INTO f1users (submissionID,Email,FullName,Driver1,Driver2,Team1,LewisEndofyearPosition,Amount,Total,TeamName,Password,MyRaceId)".
		 "VALUES ('','$Email', '$FullName', '$Driver1', '$Driver2', '$Team1', '$LewisEndofyearPosition', '$Amount', '$Total', '$TeamName', '$pw', '$MyRaceId')"
		 );


echo "<h1>Thank you for signing up.</h1> Please now login. <p>";

echo "<p><a href='../log.html'>Login</a></p>"; 
}

Open in new window

0
HI I had a task in my company where I I need to edit error message "You’re not connected to a network" In IE when ever I have no internet connection . is IT possible to edit and customized my own message error message ?if yes please provide solution . am fine with google chrome too
0
What info does the scripts below collect?  Any sensitive info & are the scripts malicious?
To be tagged on our sites

<!-- Googl Tag Mgr -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PCHWLM');</script>
<!-- End Google Tag Manager -->

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PCHWLM"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->



<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PHRRT8');</script>
<!-- End Google Tag Manager -->

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PHRRT8"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
0
Some time back we had a tech that would create super fast animated movies with apps called "Flash" (not sure).  The produced file, extension *.swf, would then uploaded and it would be online.  Not only was for animation but also for standard stuff as menus, windows, forms, etc.  

We are looking for something similar, easy to run and ofcouse free.

Please advice.
0
Hello,

I have issues with a navigation bar that won't link using a basic tag. When I test the file on the current browser, the navigation bar in place but it won't link (not even the finger point icon). Here is the code.

within the style tag...

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: color;
    position: fixed;
    top: 100px;
    width: 100%;
}

li {
    float: left;
}

after the body tag...

<ul>
  <li><a href=“#bookmark1”>Name</a></li>
  <li><a href=“#bookmark2”>Name2</a></li>
  <li><a href=“#bookmark3”>Name3</a></li>
  <li><a href="https://website.com/folder/“>Name4</a></li>
</ul>
0
I had this question after viewing ebay api to see some data about my customers.


Do you have any code in php that would allow me to see any information


Ebay Fulfillment API

Any information about my ebay customers as i am a seller
0
Does anyone know how to gather the SOAP call and response for a specific website, using an API?
0
if you look at my code over mobile, the sentences that wrap tuck under the numbers and the shorter sentences get indented too much. looks great in desktop but does anyone know how to fix these 2 issues in mobile?

<style type="text/css">
.display-element {
}

.display-label {
  display: inline-block;
  width: 30px;
  padding-top: 5px;  
  font-weight:bold;
}

.display-field {
  display: inline-block;
  padding-left: 5px;
  padding-top: 5px;
  text-indent: 0px;
  vertical-align: top;
  max-width: 500px;
  overflow: hidden;
}
</style>
<div class="display-element"><span class="display-label">1.</span> <span class="display-field"> This is a very, very, very, very, very, very, very, very, very, very, very, very long sentence</span></div>

<div class="display-element"><span class="display-label">2.</span> <span class="display-field"> This is a very, very, very, very, very, very, very, very, very, very, very, very long sentence</span></div>

<div class="display-element"><span class="display-label">3.</span> <span class="display-field"> This is item three.</span></div>

<div class="display-element"><span class="display-label">4.</span> <span class="display-field"> This is almost a very, very, very long sentence</span></div>

<div class="display-element"><span class="display-label">5.</span> <span class="display-field"> This is item number five.</span></div>

Open in new window

0
I have a list of websites (URLs / root domain names). I would like to get the links to the following on their websites:

1. Help /(customer) support / customer service - section
2. Forums /community
3. Knowledgebase and FAQ

Thanks
0
Hello I have this code below that copies all my files to a dist folder. Works fine but I would like to then copy the contents of that dist folder else where. Basically another copy to this location :
"/Volumes/Downloads/ProgramData/Code/AngularJS/Less4/json-server/public/"

There was a task i tried "multidest:" but it did not work. Any ideas?


'use strict';

module.exports = function (grunt) {

// Time how long tasks take. Can help when optimizing build times
require('time-grunt')(grunt);

//Load Multi dest
grunt.loadNpmTasks('grunt-multi-dest');

// Automatically load required Grunt tasks
require('jit-grunt')(grunt, {
  useminPrepare: 'grunt-usemin'
});

    // Define the configuration for all the tasks
    grunt.initConfig({
      pkg: grunt.file.readJSON('package.json'), 
//      pkg2: grunt.loadNpmTasks('grunt-multi-dest'),

        // Make sure code styles are up to par and there are no obvious mistakes
  jshint: {
    options: {
      jshintrc: '.jshintrc',
      reporter: require('jshint-stylish')
    },
    all: {
      src: [
        'Gruntfile.js',
        'app/scripts/{,*/}*.js'
      ]
    }
  },
 useminPrepare: {
      html: 'app/index.html',//'app/menu.html',

      useminPrepare: {
          html: 'app/index.html',//'app/menu.html',
          options: {
              dest: 'dist'
          }
      },

      // Concat
      concat: {
          options: {
              separator: ';'
          },

          // dist configuration is provided by 

Open in new window

0
I'm trying to figure out, using Javascript, how to detect the value of an email input by using the last attribute "aria-invalid" (will equal "true" or "false"). The issue is other fields on the page use the same attribute "aria-invalid" in the same fashion. Not sure how I can read the value of the email input attribute only? I can NOT add any code to the element and NO jQuery please.

<input class="masked-zip-code not-empty input-validation-error" data-val="true" data-val-regex="Enter a valid (5-digit) ZIP code." data-val-regex-pattern="^\d{5}(-\d{4})?$" data-val-required="Enter a ZIP code" id="ZipCode" name="ZipCode" type="text" value="" aria-required="true" aria-describedby="ZipCode-error" aria-invalid="true">

Open in new window


Thanks!
0
I need to be able to create the following types of websites so which solutions (software, tools, etc.) would be the best and simplest for each type. Consider each possible solution and provide as many pros and cons of each solution for each type of website--thank you.
1. Blog sites
2. Marketing/Informational websites (a few static pages)
3. Websites to sell digital content
4. Websites with full eCommerce capabilities
5. Social websites
0
My teacher told me to write a digest paper. What is a digest paper?
0

Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.